- Introduction to Payments
- Basic Processing
- Card-Present Authorizations
On This Page
REST API | GPX
Capturing an Authorization Using REST APIs
REST
APIsTo capture an authorization:
- Pass the original authorization ID in the URL, and send the service request to:
ADDITIONAL INFORMATION
https://api.cybersource.com/v2/payments/{id}/capturesWhereidis is the authorization ID. The authorization ID is passed in the authorization response asid.{ "id": "6481692924466004003001" }The URL with theidvalue is included in the authorization response:{ "_links": { "capture": { "method": "POST", "href": "/pts/v2/payments/6481692924466004003001/captures" } } - Check the response message to make sure that the request was successful. A 200-level HTTP response code indicates success. For information about response codes, see Transaction Response Codes.