Update Stripe price
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Updates the price identified by price_id. Changes only the fields you send. Anything you leave out keeps its current value. Sending null has the same effect. The amount, currency, and recurring schedule cannot be changed here.
The response does not include the nickname even when it was updated.
Uses the Stripe account selected by the app's stored credentials. Live keys select the live catalog and test keys select the test catalog. Products and prices belong to that Stripe account, so multiple apps configured with the same account share the same catalog. Check livemode on each returned product or price to see which catalog the call used.
Requires write access to the app. Workspace viewers cannot call this operation.
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/apps/{app_id}/payments/stripe/prices/{price_id}
- AuthHTTP bearer
Path parameters
Stripe price ID in the configured account.
ID of the Base44 app.
Request body
Example request
{
"metadata": {
"tier": "standard"
},
"nickname": "Monthly membership"
}Response
The operation result.
Example response
{
"id": "price_1T7mK2Q4r6S8v9Ab",
"product": "prod_T7mK2p9Q4r6S8v",
"unit_amount": 2500,
"currency": "usd",
"active": true,
"metadata": {
"tier": "standard"
},
"recurring": {
"interval": "month",
"interval_count": 1,
"usage_type": "licensed"
}
}Changes
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info
- info
added the required property
to the response with the status
- info