The ReservePlan object ​
Attributes ​
id(string) Unique identifier for the object.object(string) String representing the object’s type. Objects of the same type share the same value.created(timestamp) Time at which the object was created. Measured in seconds since the Unix epoch.created_by(enum) Indicates which party created this ReservePlan. Possible enum values:applicationThe object was created by an application.stripeThe object was created by Stripe.
currency(enum, nullable) Three-letter ISO currency code, in lowercase. Must be a supported currency. An unset currency indicates that the plan applies to all currencies.disabled_at(timestamp, nullable) Time at which the ReservePlan was disabled.fixed_release(object, nullable) When to release all funds for a fixed release plan.fixed_release.release_after(integer) The time after which all reserved funds are requested for release.fixed_release.scheduled_release(timestamp) The time at which reserved funds are scheduled for release, automatically set to midnight UTC of the day afterrelease_after.
livemode(boolean) If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse.metadata(object, nullable) 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.percent(integer) The percent of each Charge to reserve.rolling_release(object, nullable) How long to hold reserves for a rolling release plan.rolling_release.days_after_charge(integer) The number of days to reserve funds before releasing.rolling_release.expires_on(integer, nullable) The time at which the ReservePlan expires.
status(enum) The current status of the ReservePlan. The ReservePlan only affects charges if it isactive. Possible enum values:activeThe ReservePlan is active and reserving funds.disabledThe ReservePlan has been manually disabled and is no longer reserving funds, and its associated funds have been released.expiredThe ReservePlan has expired automatically and is no longer reserving funds, and its associated funds have been released.
type(enum) The type of the ReservePlan. Possible enum values:fixed_releaseThe ReservePlan releases funds after a fixed duration.rolling_releaseThe ReservePlan releases funds on a rolling basis.
The ReservePlan object ​
json
{
"id": "resplan_61SxrVOzQu6XIJSCx41Q8rCFhzAUW",
"object": "reserve.plan",
"created": 1753380438,
"created_by": "application",
"currency": "usd",
"disabled_at": null,
"livemode": false,
"metadata": {},
"percent": 15,
"rolling_release": {
"days_after_charge": 30,
"expires_on": 1755972438
},
"status": "active",
"type": "rolling_release"
}