Overview
This endpoint creates a new virtual account based on the specified account type.- For third-party accounts (business use), set
third_party
totrue
and provide acustomer_id
. - For sub-accounts (collections), set
third_party
tofalse
and provide anaccount_name
. - If
third_party
is not specified, it defaults totrue
.
Endpoint
POST /accounts
Request Body
Standard Account Creation (Business Use)
Sub-Account Creation (Collections)
Response
Authorizations
Provide your API key in the 'apikey' header.
Headers
Body
application/json
Create a new virtual account based on account type
Must always be 'static'
Available options:
static
Set to true when creating an account for a third-party customer (business use). Set to false when creating a sub-account for your own business (collections). Defaults to true if not provided.
Required if third_party is true. The customer to associate the account with.
Required if third_party is false. The sub-account name (e.g. 'SUBACCOUNT' -> BUSINESS NAME - SUBACCOUNT).
Response
200 - application/json
OK
The response is of type object
.