The ReserveRelease object Preview
Attributes
- idstring
Unique identifier for the object.
- amountinteger
Amount released. A positive integer representing how much is released in the smallest currency unit.
- currencyenum
Three-letter ISO currency code, in lowercase. Must be a supported currency.
- metadatanullable objectConnect Only
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.
- reasonenum
The reason for the ReserveRelease, indicating why the funds were released.
Possible enum valuesbulk_hold_ expiry The ReserveHold expired automatically according to its schedule.
hold_released_ early The ReserveHold was manually released before its scheduled release.
hold_reversed The ReserveHold was reversed due to a refund or dispute.
plan_disabled The ReserveHold was released due to its associated plan being disabled.
- released_
attimestamp The release timestamp of the funds.
- reserve_
holdnullable stringExpandable The ReserveHold this ReserveRelease is associated with.
- source_
transactionnullable object The transaction which triggered this ReserveRelease.
More attributes
- objectstring
- createdtimestamp
- created_
byenum - livemodeboolean
- reserve_
plannullable stringExpandable
{ "id": "resrel_61SxyHbQOe90T6sLB41Q8rCFhzAUW", "object": "reserve.release", "amount": 500, "created": 1753406491, "created_by": "application", "currency": "usd", "livemode": false, "metadata": {}, "reason": "hold_released_early", "released_at": 1753406491, "reserve_hold": "reshold_61SxrUZH1aQJj97WT41Q8rCFhzAUW", "reserve_plan": null}Create a ReserveRelease Preview
Create a ReserveRelease to manually release funds from a ReserveHold.
Parameters
- reserve_
holdstringRequired The ReserveHold to release.
- amountinteger
Amount to release from the provided ReserveHold. A positive integer representing how much to release in the smallest currency unit (e.g., 100 cents to release $1.00 or 100 to release ¥100, a zero-decimal currency). If not provided, the full releasable amount of the ReserveHold is released.
- currencyenum
Three-letter ISO currency code, in lowercase. Must be a supported currency.
- 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.
Returns
Returns a ReserveRelease object.
{ "id": "resrel_61SxyHbQOe90T6sLB41Q8rCFhzAUW", "object": "reserve.release", "amount": 500, "created": 1753406491, "created_by": "application", "currency": "usd", "livemode": false, "metadata": {}, "reason": "hold_released_early", "released_at": 1753406491, "reserve_hold": "reshold_61SxrUZH1aQJj97WT41Q8rCFhzAUW", "reserve_plan": null}Update a ReserveRelease Preview
Update a ReserveRelease’s metadata.
Parameters
- idstringRequired
The identifier of the ReserveRelease to update.
- metadataobjectRequired
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.
Returns
Returns the updated ReserveRelease object.
{ "id": "resrel_61SxyHbQOe90T6sLB41Q8rCFhzAUW", "object": "reserve.release", "amount": 500, "created": 1753406491, "created_by": "application", "currency": "usd", "livemode": false, "metadata": { "test_key": "test_value" }, "reason": "hold_released_early", "released_at": 1753406491, "reserve_hold": "reshold_61SxrUZH1aQJj97WT41Q8rCFhzAUW", "reserve_plan": null}Retrieve a ReserveRelease Preview
Retrieve a ReserveRelease.
Parameters
- idstringRequired
The identifier of the ReserveRelease to retrieve.
Returns
Returns a ReserveRelease object.
{ "id": "resrel_61SxyHbQOe90T6sLB41Q8rCFhzAUW", "object": "reserve.release", "amount": 500, "created": 1753406491, "created_by": "application", "currency": "usd", "livemode": false, "metadata": {}, "reason": "hold_released_early", "released_at": 1753406491, "reserve_hold": "reshold_61SxrUZH1aQJj97WT41Q8rCFhzAUW", "reserve_plan": null}List ReserveReleases Preview
Returns a list of ReserveReleases previously created. The ReserveReleases are returned in sorted order, with the most recent ReserveReleases appearing first.
Parameters
- currencyenum
Only return ReserveReleases associated with the currency specified by this currency code. Three-letter ISO currency code, in lowercase. Must be a supported currency.
- reserve_
holdstring Only return ReserveReleases associated with the ReserveHold specified by this ReserveHold ID.
- reserve_
planstring Only return ReserveReleases associated with the ReservePlan specified by this ReservePlan ID.
More parameters
- ending_
beforestring - limitinteger
- starting_
afterstring
Returns
A dictionary with a data property that contains an array of up to limit ReserveReleases, starting after ReserveRelease starting_ and ending before ReserveRelease ending_. Each entry in the array is a separate ReserveRelease object. If no more ReserveReleases are available, the resulting array will be empty.
{ "object": "list", "data": [ { "id": "resrel_61SxyHbQOe90T6sLB41Q8rCFhzAUW", "object": "reserve.release", "amount": 500, "created": 1753406491, "created_by": "application", "currency": "usd", "livemode": false, "metadata": {}, "reason": "hold_released_early", "released_at": 1753406491, "reserve_hold": "reshold_61SxrUZH1aQJj97WT41Q8rCFhzAUW", "reserve_plan": null }, { "id": "resrel_61SxxvDiTp12IiQA441Q8rCFhzAUW", "object": "reserve.release", "amount": 2904, "created": 1753405103, "created_by": "stripe", "currency": "usd", "livemode": false, "reason": "plan_disabled", "released_at": 1753405102, "reserve_hold": null, "reserve_plan": "resplan_61SxrVOzQu6XIJSCx41Q8rCFhzAUW" } ], "has_more": false, "url": "/v1/reserve/releases"}