Subaccounts
Transfer Credit to a Subaccount
Transfer API credits from your account to a subaccount.
POST
/
v1
/
subaccounts
/
{subaccount_id}
/
transfer
Headers
authorization
string
requiredYour API key for authentication.
Path Parameters
subaccount_id
string
requiredThe unique identifier of the subaccount to which you want to transfer credits.
Body
amount
integer
requiredThis many of your API credits will be transferred to the subaccount.
The balance must be a positive integer that is at least 1, and less than your current account balance.
Response
status
string
Whether the subaccount creation succeeded.
new_parent_balance
number
The new balance of your account after the transfer.
new_subaccount_balance
number
The new balance of the subaccount after the transfer.