Skip to content

Migrate Subscription Prices (Admin)​

POST
/bridge-payment/admin/subscriptions/migrate-prices

Admin endpoint to migrate subscription prices. This is a complex operation that creates new prices in the payment provider and updates subscriptions. Supports dry run mode to preview changes.

Authorizations​

SessionAuth

Session ID from Flowless authentication

TypeAPI Key (header: X-Session-ID)

Request Body​

application/json
JSON
{
"subscription_ids": [
"string"
],
"old_pricing": {
"subtotal_cents": 0,
"tax_cents": 0,
"discount_cents": 0,
"total_cents": 0
},
"new_pricing": {
"subtotal_cents": 0,
"tax_cents": 0,
"discount_cents": 0,
"total_cents": 0
},
"effective_date": "string",
"provider_id": "stripe",
"dryRun": false
}

Responses​

Price migration completed or preview

Playground​

Server
Authorization
Body

Samples​

Powered by VitePress OpenAPI