On This Page
Void for a Sale or Credit
Use this information to void a sale or credit transaction that was submitted but not yet
processed by the processor. A void for a refund is not supported currently.
For an overview of supported payment services, see Supported Transactions Types and Integrations.
Void a Sale Transaction
Endpoint
Production:
POST
https://api.cybersource.com
/pts/v2/payments/{id}
/voidsTest:
POST
https://apitest.cybersource.com
/pts/v2/payments/{id}
/voidsThe is the transaction ID returned in the
sale response.
{id}
Void a Credit Transaction
Endpoint
Production:
POST
https://api.cybersource.com
/pts/v2/credits/{id}
/voidsTest:
POST
https://apitest.cybersource.com
/pts/v2/credits/{id}
/voidsThe is the transaction ID returned during the
credit response.
{id}