Mass Transit Follow-On Payment Services
You can request these follow-on transactions for mass transit:
- Capture
- Authorization reversal
- Timeout reversal
- Timeout void
Required Fields for Mass Transit Captures
This table provides information about the fields required for mass transit captures.
REST API Field
|
Capture
|
Information/Value
|
---|---|---|
|
For this value, see Transaction Types.
|
|
|
Cybersource
provides the value for this field.
|
|
|
—
|
|
|
—
|
|
|
—
|
Capture an Authorization
When a transaction is below the threshold for First Ride Risk protection, use the capture service to capture funds from a declined authorization.
Endpoint
Production:
POST
https://api.cybersource.com
/pts/v2/payments/{id}/captures
Test:
POST
https://apitest.cybersource.com
/pts/v2/payments/{id}/captures
The
{id}
is the transaction ID returned in the authorization response.
Required Fields for Mass Transit Reversals
This table provides information about the fields required for mass transit reversals.
REST API Field
|
Authorization Reversal
|
Timeout Reversal
|
Information/Value
|
---|---|---|---|
|
|
For this value, see Transaction Types.
|
|
|
|
Cybersource
provides the value for this field.
|
|
|
—
|
—
|
|
|
—
|
—
|
|
|
|
—
|
|
—
|
|
—
|
Authorization Reversals
Use the authorization reversal service to reverse an unnecessary or undesired authorization.
Endpoint
Production:
POST
https://api.cybersource.com
/pts/v2/payments/
{id}
/reversals
Test:
POST
https://apitest.cybersource.com
/pts/v2/payments/
{id}
/reversals
The
is the transaction ID returned in the authorization response.
{id}
Timeout Reversal
Request a timeout reversal when an authorization is not completed within the time allowed and times out.
Production:
POST
https://api.cybersource.com
/pts/v2/reversals
Test:
POST
https://apitest.cybersource.com
/pts/v2/reversals
Required Field for Timeout Voids
This table provides information about the field required for timeout voids.
REST API Field
|
Timeout Void
|
Information/Value
|
---|---|---|
|
For this value, see Transaction Types.
|
|
|
Set this field to the unique
clientReferenceInformation.transactionId
value from the transaction that timed out.
|
Timeout Void
Request a timeout void for a previous authorization, capture, refund, or credit when you do not receive a response within the time allowed and the transaction times out. To use this feature, you must include a unique value in the
clientReferenceInformation.transactionId
field in your payment, capture, refund, or credit request and use the same unique value for the
clientReferenceInformation.transactionId
field in this request to reverse the transaction.
Endpoint
Production:
POST
https://api.cybersource.com
/pts/v2/voids/
Test:
POST
https://apitest.cybersource.com
/pts/v2/voids/