POST /payments/capture-payment
Changed onCaptures a payment that was previously authorized by creating an intent with manualCapture set to true.
Request
- Base URLhttps://api.xpaycheckout.com
- URLhttps://api.xpaycheckout.com/payments/capture-payment
- AuthHTTP basic
Headers
Idempotency-Keystring
A unique key for making the request idempotent. Must match pattern: ^[a-zA-Z0-9\-_:\.]+$. See Idempotent Requests for more details.
Request body
Example request
{
"intentId": "in_fooBOwYsaK50AEfK"
}Response
Capture Payment response
Example response
{
"status": "SUCCESS"
}Changes
- info
endpoint added
- info