This section shows you how to process a void.
Endpoint
Captures
Production:
POST
https://api.cybersource.com
/pts/v2/captures/{id}
/voidsTest:
POST
https://apitest.cybersource.com
/pts/v2/captures/{id}
/voidsCredits
Production:
POST
https://api.cybersource.com
/pts/v2/credits/{id}
/voidsTest:
POST
https://apitest.cybersource.com
/pts/v2/credits/{id}
/voidsThe
{id}
is the transaction ID returned during the request to void.IMPORTANT
POST requests for voids require a body. If you have no fields to pass,
use empty braces as shown below.