Customers
Events & Usage Metering
Invoices
Subscriptions
Create Account
{
"name": "GoJo",
"aliases": ["JoGo"],
"currency": "USD",
"billingAddress": {
"line1": "123 Main St",
"line2": "Suite 100",
"city": "New York",
"state": "NY",
"postalCode": "10001"
},
"contacts": [
{
"email": "sales@gojo.com",
"firstName": "Henry",
"lastName": "Sules",
"isPrimary": true,
"emailPreferences": ["updates"]
},
{
"email": "finance@gojo.com",
"firstName": "Accounts",
"lastName": "Receivable",
"isPrimary": false,
"emailPreferences": ["billing"]
}
]
}
{
"id": "ywgWhtGp",
"name": "GoJo",
"aliases": ["JoGo"],
"currency": "USD",
"billingAddress": {
"line1": "123 Main St",
"line2": "Suite 100",
"city": "New York",
"state": "NY",
"postalCode": "10001"
},
"contacts": [
{
"id": "OLgPyqFF",
"email": "sales@gojo.com",
"firstName": "Henry",
"lastName": "Sules",
"isPrimary": true,
"emailPreferences": ["updates"]
},
{
"id": "FdqPzqFG",
"email": "finance@gojo.com",
"firstName": "Accounts",
"lastName": "Receivable",
"isPrimary": false,
"emailPreferences": ["billing"]
}
],
"createdAt": "2023-09-05T21:54:54.609688Z",
"updatedAt": "2023-09-05T21:54:54.609689Z"
}
{
"name": "GoJo",
"aliases": ["JoGo"],
"currency": "USD",
"billingAddress": {
"line1": "123 Main St",
"line2": "Suite 100",
"city": "New York",
"state": "NY",
"postalCode": "10001"
},
"contacts": [
{
"email": "sales@gojo.com",
"firstName": "Henry",
"lastName": "Sules",
"isPrimary": true,
"emailPreferences": ["updates"]
},
{
"email": "finance@gojo.com",
"firstName": "Accounts",
"lastName": "Receivable",
"isPrimary": false,
"emailPreferences": ["billing"]
}
]
}
Request
The name of the account.
The list of alternative or external IDs for the account. These can be used to
identify the account in place of the Alguna id
.
The contacts associated with the account.
The email address of the contact.
The first name of the contact.
The last name of the contact.
Whether the contact is the primary contact for the account.
The email preferences for the contact. Valid values are updates
and
billing
.
The billing address for the account.
The first line of the address.
The second line of the address.
The city of the address.
The state of the address.
The postal code / zip code of the address.
The country of the address. This must be a valid ISO 3166-1 alpha-2 country code.
The currency in which the account will be billed. This must be a valid ISO 4217 currency code.
Response
{
"id": "ywgWhtGp",
"name": "GoJo",
"aliases": ["JoGo"],
"currency": "USD",
"billingAddress": {
"line1": "123 Main St",
"line2": "Suite 100",
"city": "New York",
"state": "NY",
"postalCode": "10001"
},
"contacts": [
{
"id": "OLgPyqFF",
"email": "sales@gojo.com",
"firstName": "Henry",
"lastName": "Sules",
"isPrimary": true,
"emailPreferences": ["updates"]
},
{
"id": "FdqPzqFG",
"email": "finance@gojo.com",
"firstName": "Accounts",
"lastName": "Receivable",
"isPrimary": false,
"emailPreferences": ["billing"]
}
],
"createdAt": "2023-09-05T21:54:54.609688Z",
"updatedAt": "2023-09-05T21:54:54.609689Z"
}
The Alguna ID of the account.
The name of the account.
The list of alternative or external IDs for the account. These can be used to
identify the account in place of the Alguna id
.
The contacts associated with the account.
The Alguna ID of the contact.
The email address of the contact.
The first name of the contact.
The last name of the contact.
Whether the contact is the primary contact for the account.
The email preferences for the contact. Valid values are updates
and
billing
.
The ISO 4217 currency in which the account is billed.
The date and time at which the account was created.
The date and time at which the account was last updated.
{
"name": "GoJo",
"aliases": ["JoGo"],
"currency": "USD",
"billingAddress": {
"line1": "123 Main St",
"line2": "Suite 100",
"city": "New York",
"state": "NY",
"postalCode": "10001"
},
"contacts": [
{
"email": "sales@gojo.com",
"firstName": "Henry",
"lastName": "Sules",
"isPrimary": true,
"emailPreferences": ["updates"]
},
{
"email": "finance@gojo.com",
"firstName": "Accounts",
"lastName": "Receivable",
"isPrimary": false,
"emailPreferences": ["billing"]
}
]
}
{
"id": "ywgWhtGp",
"name": "GoJo",
"aliases": ["JoGo"],
"currency": "USD",
"billingAddress": {
"line1": "123 Main St",
"line2": "Suite 100",
"city": "New York",
"state": "NY",
"postalCode": "10001"
},
"contacts": [
{
"id": "OLgPyqFF",
"email": "sales@gojo.com",
"firstName": "Henry",
"lastName": "Sules",
"isPrimary": true,
"emailPreferences": ["updates"]
},
{
"id": "FdqPzqFG",
"email": "finance@gojo.com",
"firstName": "Accounts",
"lastName": "Receivable",
"isPrimary": false,
"emailPreferences": ["billing"]
}
],
"createdAt": "2023-09-05T21:54:54.609688Z",
"updatedAt": "2023-09-05T21:54:54.609689Z"
}