Capture payment

Capture payment

post
/api/v1/payments/{id}/capture

Capture a Pre-Authorized payment fully or partially. Only a payment in AUTHORIZED state can be captured.

Authorizations
AuthorizationstringRequired

The client sends HTTP requests with the Authorization header that contains the word Bearer followed by a space and the Shop Api Key.

Path parameters
idstringRequired

Payment Id

Pattern: /[a-zA-Z0-9]{32}/
Body
amountnumber · min: 0.00001 · max: 1000000000Optional

Capture amount. Should not exceed the authorized payment amount. If not specified, the authorized payment amount will be captured fully.

Example: 11.12
Responses
200

Payment response

application/json
post
/api/v1/payments/{id}/capture

Last updated