Skip to main content

Create a customer

Creates a new saved customer resource which you can later manipulate and save payment instruments to.

Request Body

Details of the customer.

  • customer_id string required

    Unique ID of the customer.

  • personal_details object

    Personal details for the customer.

  • address object

    Account's personal address information.

  • city string

    City name from the address.

  • country string required

    Two letter country code formatted according to ISO3166-1 alpha-2.

  • line1 string

    First line of the address with details of the street name and number.

  • line2 string

    Second line of the address with details of the building, unit, apartment, and floor numbers.

  • postal_code string

    Postal code from the address.

  • state string

    State name or abbreviation from the address.

  • birthdate date

    Date of birth of the customer.

  • email string

    Email address of the customer.

  • first_name string

    First name of the customer.

  • last_name string

    Last name of the customer.

  • phone string

    Phone number of the customer.

Responses

Created


Schema
  • customer_id string

    Unique ID of the customer.

  • personal_details object

    Personal details for the customer.

  • address object

    Account's personal address information.

  • city string

    City name from the address.

  • country string

    Two letter country code formatted according to ISO3166-1 alpha-2.

  • line1 string

    First line of the address with details of the street name and number.

  • line2 string

    Second line of the address with details of the building, unit, apartment, and floor numbers.

  • postal_code string

    Postal code from the address.

  • state string

    State name or abbreviation from the address.

  • birthdate date

    Date of birth of the customer.

  • email string

    Email address of the customer.

  • first_name string

    First name of the customer.

  • last_name string

    Last name of the customer.

  • phone string

    Phone number of the customer.