Mastercard

The following endpoints are used during the push provisioning flow to generate the cryptographic data that your application needs to send to the virtual wallet. Before using them, confirm with our integrations team that you have everything prepared.

Want to know more about Tokenization integration? We provide all the details in our documentation.

Provisioning Mastercard in Apple Pay

Use the /token-provisioning/mastercard/apple-pay endpoint to share the information that Apple sent you with us. We will verify it and return the cryptographic data to you.

Considerations

The nonce, nonce_signature values and the certificate chain are generated by Apple.

Available parameters
Body Parameters
card_idstringrequired
Card ID
certificatesarrayrequired
Certificate chain generated by Apple
noncestringrequired
nonce generated by Apple
nonce_signaturestringrequired
nonce_signature generated by Apple
user_idstring
identificador del usuario
Response details
dataobject

Was this section helpful to you?

POST/token-provisioning/mastercard/apple-pay
{
"card_id":
"crd-20gRqyp809SvDzXzhSeG2w6UiO5"
"certificates":[
0
:
"MIID/jCCA6OgAwIBAgIINITLaqFSgg4wC..."
1
:
"MIIC9zCCAnygAwIBAgIIb+/Y9emjp+4wCgYIKoZI ..."
]
"nonce":
"8mgBUw=="
"nonce_signature":
"QGcQTIpQNebea2ZBNj5XkNFOBBQC5AYR/xJguz1D ..."
"user_id":
"usr-20gRqyp809SvDzXzhSeG2w6UiO5"
}
Response examples
{
"data":{
"activation_data":
"eyJ2ZXJzaW9uIjsdcdTIsInNpZ25hdHVyZUFsZ29 ..."
"encrypted_pass_data":
"K4UzNTVBgGnQjamKkMtpdsN4Q2cYoCGgTQdz3csH ..."
"ephemeral_public_key":
"BJmm9C6D6k8VCnh4D/tWLJzbm3UHVF00y/v7zD7w ..."
}
}

Provisioning Mastercard in Google Pay

Use the /token-provisioning/mastercard/google-pay endpoint to share the information that Google sent you with us. We will verify it and return the cryptographic data to you.
Available parameters
Body Parameters
card_idstringrequired
Card ID
user_idstring
identificador del usuario
Response details
data

Was this section helpful to you?

POST/token-provisioning/mastercard/google-pay
{
"card_id":
"crd-20gRqyp809SvDzXzhSeG2w6UiO5"
}
Response examples
{
"data":{
"opc":
"eyJmdW5kaW5nQWNjb3VudEluZm8iOnsiZW5jcnlw ..."
}
}