Generate Cryptogram
/dpm/tsp/v1/tokenization/cryptGenerate Cryptogram
This endpoint requests a cryptogram from the card brand’s Token Service Provider (TSP) for a previously generated network token. Send the cryptogram in the tokenization object of the payment request.
Usage Scenarios:
- Obtaining the cryptogram required to authorize a payment made with a network token.
Notes:
- The network_token_id sent here must come from Generate Network Token.
- The token and cryptogram must come from the same TSP; Getnet cannot process a token and cryptogram issued by different providers.
Body application/json
Value of the network_token_id returned by Generate Network Token.
Indicates whether the transaction was initiated by the customer or by the merchant.
Brand-specific cryptogram type requested from the TSP.
Transaction amount, in cents, that the cryptogram is generated for.
Buyer identifier. Application-defined information that consumes the Digital Platform API.
Buyer’s email address.
Card brand of the network token the cryptogram is generated for.
ISO 4217 numeric currency code for the transaction the cryptogram is generated for.
Response
Cryptogram generated successfully.
Cryptogram value generated by the TSP for the given network token and transaction. Send it in the payment request’s tokenization.cryptogram field.
Network token PAN issued by the card brand’s Token Service Provider (TSP). Use it in the payment request’s card.number field in place of the raw PAN.
Two-digit expiration month of the network token.
Four-digit expiration year of the network token.
Status of the network token.
Invalid request.
Detailed error message.
Name of the module or service that returned the error.
HTTP status code of the error.
Network tokenization error details.
Invalid Authentication.
Detailed error message.
Name of the module or service that returned the error.
HTTP status code of the error.
Network tokenization error details.
Unprocessable Entity
Detailed error message.
Name of the module or service that returned the error.
HTTP status code of the error.
Network tokenization error details.
Internal server or service error.
Detailed error message.
Name of the module or service that returned the error.
HTTP status code of the error.
Network tokenization error details.