Skip to content
Longport Whale
Client Contract

Edit Exchange Contract V2

The "Submit" button on the Client Contract page, with id in the path. It involves a real contract/cash change. The field structure is essentially the same as "Create Client Contract" (see exchange_contract_v2.json in the same directory), plus the audit field audit_frontend_resource.

PUThttps://b-api.longbridge.xyz/v2/billing/exchange_contract/{id}

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Parameters

idstringRequired

Included in the path.

Request body application/json

trade_donesarray<string>required

Trade Done List

audit_frontend_resourceobjectrequired

Audit Frontend Resource. Contains $behavior/$action/no.

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs