POST
/
api
/
payments
/
card
/
payment-request
/
{paymentRequestId}
/
capture
curl --request POST \
  --url https://api.atoa.me/api/payments/card/payment-request/{paymentRequestId}/capture \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Payment captured successfully"
}

Capture a previously authorized card payment. This collects the funds from the customer’s card.

Only applicable for MANUAL_CAPTURE and CAPTURE_BEFORE_EXPIRY payments that have not yet been captured. Cannot capture AUTO_CAPTURE payments (they are captured immediately on creation).

Authorization

Bearer <accessSecret>

Path Parameters

paymentRequestId
string
required

The payment request ID from the Charge Saved Card response.

Response

success
boolean

true if the payment was captured successfully.

message
string

Confirmation message.