On This Page
Basic Steps: Processing a Sale with Merchant Decryption
- Follow these steps to process an Apple Pay sale transaction with merchant decryption:
- Create the request message with the requiredRESTAPI fields.
- Use the API fields listed in Fields Required to Process a Sale with Merchant Decryption.
- Refer to the example for your payment card type:IMPORTANTIn these code examples, any test card numbers that contain zeroes are formatted with Xs replacing the zeroes. When you test using one of these reformatted card numbers, replace each X with a 0 (zero).
- Send the message to one of these endpoints:
- Production:POSThttps://api.cybersource.com/pts/v2/payments
- Test:POSThttps://apitest.cybersource.com/pts/v2/payments
- Verify the response messages to make sure that the request was successful.
ADDITIONAL INFORMATION
A 200-level HTTP response code indicates success. See the .