POST
/
v1
/
subaccounts
/
{subaccount_id}
/
disable

Headers

authorization
string
required

Your API key for authentication.

Path Parameters

subaccount_id
string
required

The unique identifier of the subaccount to which you want to transfer credits.

Response

status
string

Whether the subaccount was successfully disabled.

subaccount_id
string

The affected subaccount’s unique identifier.

transferred_amount
number

The amount of credits transferred back to the parent account.

new_parent_balance
number

The new balance of the parent account after the transfer.