v3

latestOpenAPI 3.1.02026-08-06186981679.4 KB
cardTokenization

Tokenize Card and CVV

Tokenize Card PAN & Optionally CVV in a server to server integration.

In order to gain access to this endpoint your company must have PCI-DSS certification, and provide that to your Coinflow Integrations Representative.

post/tokenize

Headers

Authorizationstring required
tx-token-scheme'sixANTOKENfour'

Only required if your account is configured with a tokenization provider that uses this header — most merchants should omit it. Contact your Coinflow integrations representative if you are unsure whether this applies to you.

tx-tokenex-idstring

Only required if your account is configured with a tokenization provider that uses this header — most merchants should omit it. If it applies to you, pass 4582952996979143 in the Sandbox Environment and 2781185452603874 in Production.

tx-apikeystring

Only required if your account is configured with a tokenization provider that uses this header — most merchants should omit it. If it applies to you, contact your Coinflow integrations representative to receive this value.

Request body

datastring

The data to be tokenized. This is the PAN of the card. Example: 4111111111111111

Note: This is only for documentation purposes, this endpoint returns an HTTP redirect where the card data should be sent.

cvvstring

The value of the CVV you want to associate with the token.

Note: This is only for documentation purposes, this endpoint returns an HTTP redirect where the card data should be sent.

Response

Ok

tokenstring required
firstSixstring required
lastFourstring required
referenceNumberstring required
successboolean required
errorstring required
messagestring required