create

Flow

You can create a customer using:

  1. Created with credit card payment source
  2. Create with one-time token
  3. Create with vault token
  4. Create with vault token and without gateway Id

Request body

fieldrequired[flow]typedescription
token+2string(UIID)One-time token with all the payment source information
reference-stringManually defined reference for customer in payment systems
description-stringCustomer description. This is customer internal description
company_name-stringCustomer company name
first_name-stringCustomer first name
last_name-stringCustomer last name
email-stringCustomer email
phone-string(E.164)Customer phone in E.164 international notation (Example: +12345678901)
default_source+string (24 hex characters)Payment source used by default
payment_source+objectObject with payment information
payment_source.gateway_id-4string (24 hex characters)Gateway id
payment_source.vault_token+3string (UIID)Vault token
payment_source.type+stringType of payment. card for payment with credit card
payment_source.card_name+1stringCardholder name (as on card)
payment_source.card_number+1string(numeric)Card number
payment_source.expire_month+1string(mm)Card expiration month mm
payment_source.expire_year+1string(yyyy)Card expiration year
payment_source.card_ccv-1string(numeric)Card CCV number
payment_source.address_line1-stringCustomer Address, line 1
payment_source.address_line2-stringCustomer Address, line 2
payment_source.address_state-stringCustomer Address, State
payment_source.address_country-stringCustomer Address, Country Code
payment_source.address_city-stringCustomer Address, City
payment_source.address_postcode-stringCustomer Address, Postcode
Language
URL