Basic Steps: Processing a Sale with `Cybersource` Decryption {#applepay-txn-sale-cybs-ex-rest-steps}
====================================================================================================

1. Follow these steps to process an Apple Pay sale transaction with `Cybersource` decryption:

2. Create the request message with the required `REST` API fields.

   * Use the API fields listed in [Fields Required to Process a Sale with Cybersource Decryption](/docs/cybs/en-us/apple-pay/developer/ctv/rest/applepay/applepay-txns-intro/applepay-txn-sale-cybs-ex/applepay-txn-sale-cybs-ex-rest-fields.md "").
   * Refer to the example in [REST Example: Process a Sale with Cybersource Decryption](/docs/cybs/en-us/apple-pay/developer/ctv/rest/applepay/applepay-txns-intro/applepay-txn-sale-cybs-ex/applepay-txn-sale-cybs-ex-rest-code.md "").
3. Send the message to one of these endpoints:

   * Production: `POST ``https://api.cybersource.com``/pts/v2/payments`
   * Test: `POST ``https://apitest.cybersource.com``/pts/v2/payments`
4. Verify the response messages to make sure that the request was successful.

   #### ADDITIONAL INFORMATION

A 200-level HTTP response code indicates success. See the [Transaction Response Codes](https://developer.cybersource.com/api/reference/response-codes.md "").
