On This Page
Capture
This section describes how to capture an authorized transaction.
Limitations for the JCN Gateway Processor
JCN Gateway
Listed below are the maximum amounts that can be processed:
- The maximum amount for an authorization is limited to 8 digits: 99,999,999.
- The maximum amount for a capture or credit is limited to 7 digits: 9,999,999.
IMPORTANT
It is possible to authorize a transaction amount
that is larger than the maximum supported capture amount. Multiple partial capture
transactions can be combined to match the total authorization amount. This is then converted
to a billable transaction record in the batch file that is sent to the processor for
settlement.
Endpoint
Production:
POST
https://api.cybersource.com
/pts/v2/payments/{id}
/capturesTest:
POST
https://apitest.cybersource.com
/pts/v2/payments/{id}
/capturesThe is the transaction ID
returned in the authorization response.
{id}
Required Fields for Capturing an Authorization
- This field value maps from the original authorization, sale, or credit transaction.
REST Example: Capturing an Authorization
Request
{ "clientReferenceInformation": { "code": "ABC123" }, "orderInformation": { "amountDetails": { "totalAmount": "100.00", "currency": "EUR" } }
Response to a Successful Request
{ "_links": { "void": { "method": "POST", "href": "/pts/v2/captures/6662994431376681303954/voids" }, "self": { "method": "GET", "href": "/pts/v2/captures/6662994431376681303954" } }, "clientReferenceInformation": { "code": "1666299443215" }, "id": "6662994431376681303954", "orderInformation": { "amountDetails": { "totalAmount": "100.00", "currency": "EUR" } }, "reconciliationId": "66535942B9CGT52U", "status": "PENDING", "submitTimeUtc": "2022-10-20T20:57:23Z" }