POST /v1/subscriptions/{subscription}/migrate
Upgrade the billing_mode of an existing subscription.
Servers
- https://api.stripe.com/
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
subscription |
String | Yes |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/x-www-form-urlencoded" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
expand[] |
Array | No |
Specifies which fields in the response should be expanded. |
billing_mode |
Object | Yes |
Controls how prorations and invoices for subscriptions are calculated and orchestrated. |
billing_mode.type |
String | Yes |
Valid values:
|
billing_mode.flexible |
Object | No | |
billing_mode.flexible.proration_discounts |
String | No |
Valid values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.