Capture Endpoints
Create capture
Capture all or part of an authorization on a payment charge.
post/v1/payment-charges/{paymentChargeId}/captures
Request
- Base URLhttps://api.sandbox.eu.ppro.com
- URLhttps://api.sandbox.eu.ppro.com/v1/payment-charges/{paymentChargeId}/captures
- AuthHTTP bearer
Path parameters
paymentChargeIdstring required
Headers
Merchant-Idstring required
The merchant identifier.
Request-Referencestring
Unique request reference to facilitate debugging.
Request-Idempotency-Keystring
Optional Idempotency Key for the request. Sending duplicate requests will result in 409 HTTP status code.
Request body
Example request
{
"merchantCaptureReference": "merch_capture_ref_123",
"amount": 1000,
"labels": {
"consumer_origin": "GTM_Campaign"
}
}Response
OK
Example response
{
"id": "capture_V1StGXR8_Z5jdHi6B-myT",
"amount": 1000,
"status": "CAPTURED",
"merchantCaptureReference": "merch_capture_ref_123",
"createdAt": "2022-11-03T11:23:47.123Z",
"updatedAt": "2022-11-03T11:23:47.123Z",
"labels": {
"consumer_origin": "GTM_Campaign"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.