Basic Steps: Authorizing a Payment with `Visa Acceptance Solutions` Decryption {#applepay-txn-auth-cybs-ex-rest-steps}
======================================================================================================================

Follow these steps to request an Apple Pay payment authorization with `Visa Acceptance Solutions` decryption:

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

   * Use the API fields listed in [Fields Required to Authorize a Payment with Visa Acceptance Solutions Decryption](/docs/vas/en-us/apple-pay/developer/ctv/rest/applepay/applepay-txns-intro/applepay-txn-auth-cybs-ex/applepay-txn-auth-cybs-ex-rest-fields.md "").
   * Refer to the example in [REST Example: Authorize a Payment with Visa Acceptance Solutions Decryption](/docs/vas/en-us/apple-pay/developer/ctv/rest/applepay/applepay-txns-intro/applepay-txn-auth-cybs-ex/applepay-txn-auth-cybs-ex-rest-code.md "").
2. Send the message to one of these endpoints:

   * Production: `POST ``https://api.visaacceptance.com``/pts/v2/payments`
   * Test: `POST ``https://apitest.visaacceptance.com``/pts/v2/payments`
3. 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.visaacceptance.com/api/reference/response-codes.md "").
