Skip to content
Longport Whale
Idle Cash

Enable/Disable Idle Cash Product

The inline enable/disable buttons in the Idle Cash list share one endpoint, distinguished by state (0=disable, 1=enable).

POSThttps://b-api.longbridge.xyz/admin/funds/change_idle_state

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

idnumberrequired

Product ID

statenumberrequired

State. Options: 0 = Disabled; 1 = Enabled

01

Responses

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

No nested fields

Whale Docs