On This Page
REST API | Visa Platform Connect
Flow of Apple Pay Web Transactions Using National Australia Bank Decryption
National Australia Bank
Decryption- When the customer chooses to pay with Apple Pay, you use the Apple Pay JavaScript to request the encrypted payment data from Apple.
- Apple uses the Secure Element to create apayment tokenand encrypt the token’spayment databefore it sends your application using theonpaymentauthorizedevent handler.
- The payment token is theApplePayPaymentTokenstructure.
- The payment data is thepaymentDatafield of theApplePayPaymentTokenstructure.
For more information, see Apple Pay on the Web Interactive Demo. - You forward the encrypted payment data to your order management system.
- Using theNational Australia BankAPI, you submit the authorization request. In thepaymentInformaton.fluidData.valuefield, include the Base64-encoded value obtained from thepaymentDatafield of theApplePayPaymentTokenstructure.
- National Australia Bankdecrypts the payment data and forwards the information to the payment network, which includes your processor and the relevant payment card company.IMPORTANTUse theGateway Portalor one of theNational Australia BankAPI services to capture, credit, or void the authorization.