v1
latestOpenAPI 3.0.02026-07-1491520.4 KBSubaccount Management
Create subaccount
Create a subaccount for a given primary account.
post/{api_key}/subaccounts
Path parameters
api_keystring required
ID of the primary account
Request body
Example request
{
"name": "Subaccount department A",
"secret": "Password123"
}Response
Subaccount response
Example response
{
"secret": "Password123",
"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
}