Request payment-data
Request a payment-data bundle for a Commerce token.
The bundle can contain various elements including the TAVV cryptogram for a network token.
Body
The three letter currency code. See: ISO-4217
"EUR"
Response
Success response
The three letter currency code. See: ISO-4217
"EUR"
JWE encrypted JSON string containing authentication data.
Encrypted in a symmetric way with the shared encryption key using "alg"=A256GCMKW and "enc"="A256GCM". For decryption make sure the shared secret is hashed with a sha256 digest.
The decrypted JSON has the following format:
-
The field
network_tokencontains the value of the token, the year of expiry and the month of expiry of the token and is always included. -
The field
cryptogramcontains the value of the cryptogram and is always included. -
The field
ecican instead have a value if there was an Electronic Commerce Indicator assigned, or it can benullif no information was provided.
"eyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMjU2R0NNIn0..."
The reasons why the processing failed.
There are two categories of errors that can happen in this context (the source field indicates the category):
- Scheme errors: errors that are returned by the scheme.
- Configuration errors: errors that are caused by the configuration with respect to the scheme.