v1
latestOpenAPI 3.0.02026-07-1491520.4 KBSubaccount Management
Modify a subaccount
Change one or more properties of a subaccount.
patch/{api_key}/subaccounts/{subaccount_key}
Path parameters
api_keystring required
ID of the primary account
subaccount_keystring required
ID of the subaccount
Request body
Example request
{
"name": "Subaccount department B",
"suspended": true
}Response
Subaccount response
Example response
{
"api_key": "bbe6222f",
"balance": 100.25,
"created_at": "2018-03-02T16:34:49Z",
"credit_limit": -100.25,
"name": "Subaccount department A",
"primary_account_api_key": "acc6111f",
"use_primary_account_balance": true
}