POST
/
v1
/
subaccounts
/
{subaccount_id}
/
transfer

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.

Body

amount
integer
required

This 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.