Update a ReserveHold Preview
Update a ReserveHold’s release schedule or metadata.
Parameters
- idstringRequired
The identifier of the ReserveHold to update.
- metadataobject
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to
metadata
. - release_
scheduleobject Configure when the ReserveHold will be released.
Returns
Returns the updated ReserveHold object.
{ "id": "reshold_61SxrUZH1aQJj97WT41Q8rCFhzAUW", "object": "reserve.hold", "amount": 1000, "amount_releasable": 1000, "created": 1753380387, "created_by": "application", "currency": "usd", "is_releasable": true, "livemode": false, "metadata": { "test_key": "test_value" }, "reason": "standalone", "release_schedule": { "release_after": 1758588150, "scheduled_release": 1758672000 }, "reserve_plan": null, "source_charge": null, "source_type": "card"}
Retrieve a ReserveHold Preview
Retrieve a ReserveHold.
Parameters
- idstringRequired
The identifier of the ReserveHold to retrieve.
Returns
Returns a ReserveHold object.
{ "id": "reshold_61SxrUZH1aQJj97WT41Q8rCFhzAUW", "object": "reserve.hold", "amount": 1000, "amount_releasable": 1000, "created": 1753380387, "created_by": "application", "currency": "usd", "is_releasable": true, "livemode": false, "metadata": {}, "reason": "standalone", "release_schedule": { "release_after": 1755972386, "scheduled_release": 1755993600 }, "reserve_plan": null, "source_charge": null, "source_type": "card"}
List ReserveHolds Preview
Returns a list of ReserveHolds previously created. The ReserveHolds are returned in sorted order, with the most recent ReserveHolds appearing first.
Parameters
- currencyenum
Only return ReserveHolds associated with the currency specified by this currency code. Three-letter ISO currency code, in lowercase. Must be a supported currency.
- is_
releasableboolean Only return ReserveHolds that are releasable.
- reserve_
planstring Only return ReserveHolds associated with the ReservePlan specified by this ReservePlan ID.
- reserve_
releasestring Only return ReserveHolds associated with the ReserveRelease specified by this ReserveRelease ID.
- source_
chargestring Only return ReserveHolds associated with the Charge specified by this source charge ID.
More parameters
- ending_
beforestring - limitinteger
- starting_
afterstring
Returns
A dictionary with a data
property that contains an array of up to limit
ReserveHolds, starting after ReserveHold starting_
and ending before ReserveHold ending_
. Each entry in the array is a separate ReserveHold object. If no more ReserveHolds are available, the resulting array will be empty.
{ "object": "list", "data": [ { "id": "reshold_61SxrUZH1aQJj97WT41Q8rCFhzAUW", "object": "reserve.hold", "amount": 1000, "amount_releasable": 1000, "created": 1753380387, "created_by": "application", "currency": "usd", "is_releasable": true, "livemode": false, "metadata": {}, "reason": "standalone", "release_schedule": { "release_after": 1755972386, "scheduled_release": 1755993600 }, "reserve_plan": null, "source_charge": null, "source_type": "card" }, { "id": "reshold_61SxrVXoFxfur37Dn41Q8rCFhzAUW", "object": "reserve.hold", "amount": 500, "amount_releasable": 500, "created": 1753380371, "created_by": "application", "currency": "usd", "is_releasable": true, "livemode": false, "metadata": {}, "reason": "charge", "release_schedule": { "release_after": null, "scheduled_release": 1755993600 }, "reserve_plan": "resplan_61SxrVOzQu6XIJSCx41Q8rCFhzAUW", "source_charge": "ch_1RoTYAQ8rCFhzAUW6hEROA88", "source_type": "card" } ], "has_more": false, "url": "/v1/reserve/holds"}
Reserve Plans Preview
ReservePlans are used to automatically place holds on a merchant’s funds until the plan expires. It takes a portion of each incoming Charge (including those resulting from a Transfer from a platform account).
Reserve Releases Preview
ReserveReleases represent the release of funds from a ReserveHold.