create

Create one-time token

Tokens can also be created using client-sdk

This endpoint is available both with a secret and public token

Flow

You can create a one time token using:
1.Create OTT using a Credit Card
2.Create OTT using a Credit Card and without Gateway_ID

Request body

fieldrequired[flow]typedescription
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)
phone2-string(E.164)Customer additional phone in E.164 international notation (Example: +12345678901)
gateway_id+1,-2string (24 hex characters)Gateway id
type+stringType of payment. By default card. Use card for payment with credit card.
card_name+1stringCardholder name (as on card)
card_number+1string(numeric)Card number
expire_month+1string(mm)Card expiration month mm
expire_year+1string(yyyy)Card expiration year
card_ccv-1string(numeric)Card CCV number
address_line1-stringCustomer Address, line 1
address_line2-stringCustomer Address, line 2
address_state-stringCustomer Address, State
address_country-stringCustomer Address, Country Code
address_city-stringCustomer Address, City
address_postcode-stringCustomer Address, Postcode
address_company-stringCustomer Company Name
store_ccv-booleanA flag to be able to use a CCV value for the initial transaction
Language
URL