Endpoints for Services Supported with Apple Pay

This topic lists the API endpoints that you use to request the services supported with Apple Pay.
Authorizing a Payment
Production:
POST
https://api.cybersource.com
/pts/v2/payments
Production in India:
POST
https://api.in.cybersource.com
/pts/v2/payments
Test:
POST
https://apitest.cybersource.com
/pts/v2/payments
Processing a Sale
Production:
POST
https://api.cybersource.com
/pts/v2/payments
Production in India:
POST
https://api.in.cybersource.com
/pts/v2/payments
Test:
POST
https://apitest.cybersource.com
/pts/v2/payments
Reversing an Authorization
Production:
POST
https://api.cybersource.com
/pts/v2/payments/{id}/reversals
Production in India:
POST
https://api.in.cybersource.com
/pts/v2/payments/{id}/reversals
Test:
POST
https://apitest.cybersource.com
/pts/v2/payments/{id}/reversals
Replace the
{id}
portion of the URL with the transaction ID included in the authorization that you want to void. For example,
6869458685866438003955
.
Capturing a Payment
Production:
POST
https://api.cybersource.com
/pts/v2/payments/{id}/captures
Production in India:
POST
https://api.in.cybersource.com
/pts/v2/payments/{id}/captures
Test:
POST
https://apitest.cybersource.com
/pts/v2/payments/{id}/captures
Replace the
{id}
portion of the URL with the transaction ID included in the authorization request for the payment that you want to capture. For example,
6869458685866438003955
.