On This Page
REST API | Visa Platform Connect
Configuring Apple Pay Response Handling
Configure the decryption method to handle the response payload of a
successful Apple Pay transaction.
- After the payment token is received, the transaction is finalized by extracting and decrypting the payment data.
- :National Australia BankDecryptionThis method forwards the encrypted payment data to your order management system. Use theNational Australia BankAPI to submit the authorization request, and include the Base64-encoded value obtained from thepaymentDataobject in thepaymentInformaton.fluidData.valuefield.Example:session.onpaymentauthorized = function (event) { var paymentDataString = JSON.stringify(event.payment.token.paymentData); var paymentDataBase64 = btoa(paymentDataString); }
- Merchant Decryption:This method forwards the encrypted payment data to your order management system to decrypt. Use theNational Australia BankAPI to submit the authorization request and include the decrypted payment data.For detailed information about decryption, see Payment Token Format Reference in the Apple Developer Center.