v1

latestOpenAPI 3.0.02026-07-1412068.2 KB
Transactions

Capture Payment

API to capture an "On hold" charge. <br><br>

post/charges/{chargeId}/captures

Path parameters

chargeIdstring required

Transaction ID / Charge ID

Headers

Content-Typestring
Authorizationstring

Request body

amountnumber required

Amount to be captured. Must be less than or equal to the charge's amount.

Example request

{
  "amount": 122.87
}

Response

Successful response

idstring
statusstring
amountnumber
amount_currencystring
refund_amountstring
refund_statusstring
billing_descriptorstring
custom_dataobject
created_datestring
subscription_idstring

Value is set for subscriptions only. For one-time payments, this will be null.

next_payment_datestring

Value is set for subscriptions only. For one-time payments, this will be null.

settlement_amountnumber
settlement_currencystring
settlement_datestring
settlement_feestring
settlement_vatstring
payment_link_idstring
payment_link_urlstring
error_codestring
error_messagestring