On This Page
REST API | Visa Platform Connect
Flow of Apple Pay In-App Transactions Processed Using Merchant Decryption
This diagram illustrates the flow of in-app transaction processing
using merchant decryption.
- When the customer chooses to pay with Apple Pay, you use the Apple PassKit Framework 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.
- The payment token is thePKPaymentTokenstructure.
- The payment data is thepaymentDatafield of thePKPaymentTokenstructure.
- You forward the encrypted payment data to your order management system to decrypt. For information on decryption, see the Payment Token Format Reference article in the Apple Pay Developer Documentation.
- Using theNational Australia BankAPI, you submit the authorization request and include the decrypted payment data.
- National Australia Bankforwards the information to the payment network, which includes your processor and the relevant payment card company.IMPORTANTYou must use theGateway Portalor one of theNational Australia BankAPI services to capture, credit, or void the authorization.