Skip to main content

Provision Card to Apple Pay

POST 

/api/cards/:cardId/provision/apple-pay

Generate the encrypted payload required to add a card to Apple Pay via in-app push provisioning.

Call this endpoint from your partner app in response to the PassKit PKAddPaymentPassViewController delegate callback generateRequestWithCertificateChain:nonce:nonceSignature:completionHandler:. Forward the certChain, nonce, and nonceSignature values supplied by PassKit to this endpoint, then pass the response fields back to the PassKit completion handler as the corresponding fields of PKAddPaymentPassRequest.

Refer to the seriesId field on the card resource for the value to use as primaryAccountIdentifier, and to cardholderName for the value to use as the cardholder name.

Request

Responses

Successful operation