Create a new virtual account for a customer/collection.
third_party to true and provide a customer_id.third_party to false and provide an account_name.third_party is not specified, it defaults to true.POST /accounts
Provide your API key in the 'apikey' header.
Create a new virtual account based on account type
Must always be 'static'
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).
OK
The response is of type object.