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.

Authentication

Authorizationstring
The API key of the merchant - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key

Headers

tx-token-schemeenumOptional

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.

Allowed values:
tx-tokenex-idstringOptional

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-apikeystringOptional

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

This endpoint expects an object.
datastringOptional

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.

cvvstringOptional

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
firstSixstring
lastFourstring
referenceNumberstring
successboolean
errorstring
messagestring