Create account
Accounts
Create Account
Create a new virtual account for a customer/collection.
POST
Create account
Overview
This endpoint creates a new virtual account based on the specified account type.- For third-party accounts (business use), set
third_partytotrueand provide acustomer_id. - For sub-accounts (collections), set
third_partytofalseand provide anaccount_name. - If
third_partyis 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
The type of account to create (static or dynamic)
Available options:
static, dynamic For third-party accounts (business use), set to true. For sub-accounts (collections), set to false.
Required if third_party is true. The ID of the customer.
Required if third_party is false. The name of the collection account.
Response
200 - application/json
OK
The response is of type object.