On This Page
REST API
Payment Network Tokenization
Payment network tokens are used throughout the financial network. Token service providers create
these tokens to replace PANs. A payment network token is a unique identifier that is
virtually impossible to reverse-engineer. In the authorization request under the
paymentInformation
object:- Obtain the payment network token value and the expiration date of the token from the token service provider.
- Under thetokenizedCardobject, set thenumberfield to the payment network token value.
- Set theexpirationMonthandexpirationYearfields under thetokenizedCardobject to the payment network token expiration date.
- Include the payment network transaction type field,transactionType, under thetokenizedCardobject. The only supported value is1, and it indicates that this is an in-app transaction.
- On Visa Platform Connect, you can choose to include the requestor ID field,requestorID, under thetokenizedCardobject.
For in-app transactions, payment network tokenization uses some of the payer authentication
request fields. In these cases, additional payer authentication fields must be included
for the various card types as described below.
For Visa requests:
- Set thecommerceIndicatorfield under theprocessingInformationobject tovbv or internet.
- Set thexidfield under theconsumerAuthenticationInformationobject to the 3D Secure cryptogram of the payment network token.
- Set thecavvfield under theconsumerAuthenticationInformationobject to the 3D Secure cryptogram of the payment network token.
For Mastercard requests:
- Set thecommerceIndicatorfield underprocessingInformationobject tospa.
- Set theucafAuthenticationDatafield under theconsumerAuthenticationInformationobject to the 3D Secure cryptogram of the payment network token.
- Set theucafCollectionIndicatorfield under theconsumerAuthenticationInformationobject to2.
For American Express requests:
The cryptogram for the American Express card type is either a
20-byte or a 40-byte binary value. For a 20-byte cryptogram, send
the cryptogram in the
cavv
field.- Set thecommerceIndicatorfield under theprocessingInformationobject toaesk.
- Set thecavvfield under theconsumerAuthenticationInformationobject to the 3D Secure cryptogram of the payment network token.
For a 40-byte cryptogram, split the cryptogram into two 20-byte
binary values (block A and block B). Send the first 20-byte value
(block A) in the
cavv
field. Send the second 20-byte value
(block B) in the xid
field.- Set thecommerceIndicatorfield under theprocessingInformationobject toaesk.
- Set thecavvfield under theconsumerAuthenticationInformationobject to block A of the 3D Secure cryptogram of the payment network token.
- Set thexidfield under theconsumerAuthenticationInformationobject to block B of the 3D Secure cryptogram of the payment network token.