On This Page
Basic Steps: Capturing an Authorization
- Follow these steps to capture an authorized Apple Pay payment transaction:
- Create the request message with the requiredRESTAPI fields.
- Use the API fields listed in Fields Required to Capture an Authorization.
- Refer to the example in REST Example: Capturing an Authorization.
- Send the request to one of these endpoints:
- Production:POSThttps://api.cybersource.com/pts/v2/payments/{id}/captures
- Test:POSThttps://apitest.cybersource.com/pts/v2/payments/{id}/captures
ADDITIONAL INFORMATION
Replace the{id}portion of the URL with the transaction ID of the payment that you want to capture. The transaction ID is returned in theidfield of the response to the authorization request. Example value: 7359642011156554503954 - Verify the response messages to make sure that the request was successful.
ADDITIONAL INFORMATION
A 200-level HTTP response code indicates success. See the .