Create an account
This API let’s you to create an account for a customer using customer_id.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Payload to create account
Identifier of the account
50
"ACC00001"
Name of the Account
3 - 255
"Primary Account"
Customer Identifier for whom the account is being created
1 - 255
"C1234ewf"
Use ISO 4217 currency code in which the account must be invoiced.
For example: AED is the currency code for United Arab Emirates dirham.
3
Aliases are tags that are associated with an account. Multiple aliases are allowed for a single account.
"acme_primary"
Aliases which effective range
An alternative account identifier for event ingestion with a defined effective duration.
billing address of the customer
Primary email of the account
320
"admin@example.com"
Billing information of an account
Represents a setting
Net term for the invoices of the account
45
Additional information associated with the account. Example: GSTN, VATN
Tag for accounts are stored in lowercase
Status of the created account defaults to ACTIVE
ACTIVE
, DRAFT
Response
Structure of an account
Identifier of the account
50
Unique identifier of the account
Unique identifier of the customer
Name of the Account
3 - 255
Identifier of the customer
Status of the account
ACTIVE
, DRAFT
, ARCHIVED
"ACTIVE"
ISO_4217 code of the currency in which the account must be invoiced Defaults to Base currency.
3
"USD"
list of aliases of the account
billing address of the customer
Primary email of the customer
320
"admin@example.com"
Billing information of an account
Represents a setting
Invoice group details
Additional information associated with the account. Example: GSTN, VATN
Tag for accounts are stored in lowercase