v1
latestOpenAPI 3.1.02026-07-2631427.2 KBCancel a Hold
Cancels the hold on a funds being held by an uncaptured Hold.
A Hold object can be canceled when it is in the status of: requires_capture. Once canceled, the remaining amount_capturable will automatically be released and no additional charges can be created from the Hold.
post/v1/holds/{id}/cancel
Response
Example response
Example response
{
"id": "hld_158938670341035008",
"resource": "hold",
"amount": 10000,
"amount_human_readable": "100.00",
"amount_capturable": 10000,
"billing_details": null,
"created": "2022-09-07T13:40:41.751Z",
"currency": "usd",
"canceled": false,
"canceled_at": null,
"charges": {
"data": [],
"url": "/v1/holds/hld_158938670341035008/charges"
},
"customer": "cust_222779369167260672",
"customer_reference_id": null,
"description": null,
"failure_code": null,
"failure_message": null,
"metadata": {},
"payment_session": null,
"payment_method": "pm_card_202779025452569600",
"payment_method_details": {
"type": "card",
"card": {
"bin": "424242",
"brand": "visa",
"country": "US",
"exp_month": "11",
"exp_year": "25",
"fingerprint": "c5338f1c33863cce001e80648ea80df1068ed5f94dbb4bfb561ed8da8988fe0a",
"funding": "credit",
"last4": "4242",
"network": "visa",
"security_checks": {
"address_line1_check": "unavailable",
"address_postal_code_check": "unavailable",
"cvc_check": "pass"
},
"three_d_secure": null,
"token": "tok_card_202779025452569600",
"wallet": null
}
},
"payment_method_options": {
"card": {
"accepted_card_brands": [
"visa",
"mastercard"
],
"accepted_card_categories": [
"consumer"
],
"accepted_card_funding": [
"debit",
"credit"
],
"accepted_card_jurisdictions": [
"domestic"
],
"duplicate_card_check": true,
"enforce_customer_name_as_cardholder_name": false,
"security_checks": {
"address_line1_check": false,
"address_postal_code_check": false,
"cvv_check": true
},
"request_threed_secure": "challenge"
}
},
"reference": null,
"shipping": null,
"statement_descriptor_suffix": null,
"status": "requires_capture"
}