v1
latestOpenAPI 3.0.12026-07-2353480642.4 KBCreate/Update Token Details
Create/Update a token using the Verifone Tokenisation Service.
If a token exists for the card already, it is updated with the information in the request. Otherwise, a new token is created for the given card.
Request body
The token scope under which this token was created.
The cardholder data encrypted using the Verifone provided public key. This can be obtained using either Verifone.JS solution or Verifone Checkout in capture mode.
The data to encrypt is a JSON with possible tags being cardNumber, sequenceNumber, cardholderName, startMonth, startYear, expiryMonth, expiryYear, cvv. This should be a single JSON line and should not contain any spaces. Read <a target="_blank" style="color:blue;" href="https://docs.verifone.com/online-payments/api-integration-methods-auth-and-endpoints/secure-card-capture-key">Secure card capture key</a> for details.
Additionally, a tag called captureTime must be presenting indicating the time the card was captured in UTC in format RFC 3339, section 5.6. eg. 2019-08-24T14:15:22Z. Encrypted card is valid for only 15 minutes.
Represents a Card type or brand. It should correspond to a consistent name, the list of standard names is as follows:
| Value | Description |
|---|---|
| AMEX | American Express |
| CB | Carte Bancaires |
| DINERS | Diners Club International |
| DISCOVER | Diners Club Discover |
| JCB | Japan Credit Bureau |
| MAESTRO | Multi-national Debit (MasterCard) |
| MASTERCARD | MasterCard |
| VISA | Visa |
| UPI | Union Pay International |
Other local schemes as applicable. Enter a pre-defined name to represent the scheme or type.
Token type
The type of Reuse Token. This indicates if the reuse token is an internal Verifone type or an external Third-Party type.
When this Token will expire.
Response
Token result
The identifier used to represent the Cardholder data.
A token that cannot be reversed to Card Holder data. This is included in a Payment for auditing and tracking purposes.
The Bank Identification Number (also called IIN - Issuer Identification Number) of this card.
A 2 digit value as shown on card. ISO8583 - DE 14
A 4 digit value as shown on card.
The last 4 digits of the card number.
The Card holder name as it appears on the card.
The last date token was updated.
The last date token was created.
When this Token will expire.
The type of Reuse Token. This indicates if the reuse token is an internal Verifone type or an external Third-Party type.
The token scope under which this token was created.
The status of the Token.
Three-letter ISO 4217 alphabetical currency code. e.g. USD. Values correspond to ISO 4217.
Deprecated: BYR (replaced by BYN), FRF (replaced by EUR), LTL (replaced by EUR), LVL (replaced by EUR), MRO (replaced by MRU), STD (replaced by STN), USS (no replacement), VEF (replaced by VES), ZMK (replaced by ZMV) and BTC (Bitcoin only supported as Crypto Amount).
The ISO 3166-1 alpha-3 country code.<blockquote><strong>Note:</strong> The country code for Great Britain is <code>GB</code> and not <code>UK</code> as is used in that country's top-level domain names.</blockquote>.