Create a customer
Creates a new customer. Once created, you can issue invoices and create subscriptions against them.
Headers
string The Bearer token for authentication.
string The user agent of the request. Must contain at least two identifiers separated by a space.
string The content type of the request.
Request Body
application/jsonstring The name of the customer.
email The email address of the customer.
tel The phone number of the customer. (eg +597-8123456).
string Currency code in ISO 4217 format.
SRDUSDEURobject Customer billing details.
string Address line 1.
string Address line 2.
string City.
string State.
string Zip code.
string Country code in ISO 3166-1 alpha-2 format.
object Customer shipping details schema.
string Full name of the customer.
string Phone number of the customer. (e.g. +597-8123456)
string Address line 1.
string Address line 2.
string City.
string State.
string Zip code.
string Country code in ISO 3166-1 alpha-2 format.
object Custom metadata. Can be up to 5 custom key-value pairs.
Response Body
application/jsonboolean Indicates that the request was successful.
object Customer session data.
string The ID of the newly created customer.
object The session details for the customer
string The customer portal url
date-time Session expiration time.