TOKENS

Pre-filght options for creating a card token

(For cross-origin requests) Use the options endpoint for pre-flight v1/tokens POST requests

options/v1/tokens

Request

  • Base URL
    https://token-sandbox.dev.clover.com
  • URL
    https://token-sandbox.dev.clover.com/v1/tokens
  • Auth
    none declared

Request body

numberstring

Card number.

encrypted_panstring

Encrypted card primary account number (PAN) provided by TransArmor.

exp_monthstring

Card expiration month in 2-digit format-(MM).

exp_yearstring

Card expiration year in 2- or 4- digit format-(YYYY).

cvvstring

Card verification value.

last4string

Last 4 numbers of the primary account number.

first6string

First 6 numbers of the primary account number.

countrystring

2-character country code.

brand'VISA' | 'MC' | 'AMEX' | 'DISCOVER' | 'DINERS_CLUB' | 'JCB'

Card brand.

idstring

Unique identifier.

objectstring

Object type. Objects with the same type have the same value.

namestring

Cardholder's full name.

address_line1string

Address line 1 (Street address/P.O. Box/Company name).

address_line2string

Address line 2 (Apartment/Suite/Unit/Building).

address_citystring

City/District/Suburb/Town/Village.

address_statestring

State/County/Province/Region.

address_zipstring

ZIP or postal code.

address_countrystring

Billing address country, if provided.

cvc_check'pass' | 'fail' | 'unavailable' | 'unchecked'

Results of the card verification code (CVC) check when a card payment is submitted to a card network for authorization. The card issuer checks the CVC against the information on file for the cardholder.

Response

Successful response.

Changes

No recorded changes to this operation across all 1 revision of this API.