This endpoint allows a merchant to capture a previously pre-authorised amount on a card. The capture operation is the second stage in a two-stage payment scheme, where the initial amount was held during a pre-authorisation request (preauth = Y). This capture can be a full or partial capture of the amount.
📘 Note
This operation applies only to card payments. If capture is not completed, only a reversal of the full held amount is available.
POST/capture/order_id
This endpoint allows a merchant to capture a previously pre-authorised amount on a card. The capture operation is the second stage in a two-stage payment scheme, where the initial amount was held during a pre-authorisation request (preauth = Y). This capture can be a full or partial capture of the amount.
📘 Note
This operation applies only to card payments. If capture is not completed, only a reversal of the full held amount is available.
Header Parameters
Content-Typestringrequired
Specifies the format for the request. Response will be in the same format.
Body application/json
requestobject
Show request properties
order_idstringrequired
A unique identifier for the order. This can be any value defined by the merchant, allowing you to use any internal order identification system your business employs.
merchant_idintegerrequired
A unique identifier assigned to the merchant by Fondy upon account registration. This ID is required for authenticating requests and associating transactions with the merchant’s account.
signaturestringrequired
Signature for request verification, generated according to Fondy’s algorithm. Required to verify merchant request consistency and authenticity.
Learn how to use Fondy’s algorithm at the Signature Generation for Request and Response page.
versionstring
Specifies the protocol version for the request. Defaults to ‘1.0’.
amountintegerrequired
The amount to capture for the transaction, specified in the smallest unit of the currency (e.g., cents for USD). For example, 1020 represents $10.20.
Currency for the transaction (e.g., GBP, EUR, USD). Refer to the Currencies page for a full list of available currencies.
Response
Successful Captured Payment
responseobject
Show response properties
order_idstring
A unique identifier for the order. This can be any value defined by the merchant, allowing you to use any internal order identification system your business employs.
response_statusstring
The processing status of the capture request. Returns success if all request parameters pass validation, or other values if issues occur.
response_codestring
A code indicating the status of the response. Empty if no issues occur, or contains a specific code for declined or failed captures.
capture_statusstring
The processing status of the capture. Indicates whether the capture was successfully completed (captured) or declined (declined).
response_descriptionstring
A message providing additional details about the response. Useful for explaining the reason for declines or other issues, if applicable.
merchant_idinteger
A unique identifier assigned to the merchant by Fondy upon account registration. This ID is required for authenticating requests and associating transactions with the merchant’s account.
Fondy Gateway › API Reference › Endpoints › Accept Payments