v1

latestOpenAPI 3.0.3Apache 2.02026-07-13121230447.8 KB
Accounts

Add Aliases to account

Add aliases to an account using customer_id and account_id.

post/accounts/{account_id}/add_aliases

Path parameters

account_idstring required
Example:ACC00001

account_id corresponding to an account

Request body

aliasesstring[]

List of aliases to add

Response

Response for Create and Get account requests

idstring required

Identifier of the account

togaiAccountIdstring required

Unique identifier of the account

togaiCustomerIdstring required

Unique identifier of the customer

namestring required

Name of the Account

customerIdstring required

Identifier of the customer

invoiceCurrencystring

ISO_4217 code of the currency in which the account must be invoiced Defaults to Base currency.

netTermDaysinteger
primaryEmailstring

Primary email of the customer

status'ACTIVE' | 'DRAFT' | 'ARCHIVED' required

Status of the account

metadataobject

Additional information associated with the account. Example: GSTN, VATN

tagsstring[]

Tag for accounts are stored in lowercase

Example response

{
  "invoiceCurrency": "USD",
  "primaryEmail": "admin@example.com",
  "status": "ACTIVE"
}