Subscriptions

Withdraw a plan change waiting for the next renewal

POST
/v1/stores/{storeId}/subscriptions/{subscriptionId}/plan-withdraw

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
subscriptionId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/stores/string/subscriptions/string/plan-withdraw" \  -H "Content-Type: application/json" \  -d '{    "changeId": "a117c1ac-cc98-4e3a-bcad-8e2be82a199b"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "state": "quoted",  "chargeMinor": -9007199254740991,  "creditMinor": -9007199254740991,  "currency": "string",  "expiresAt": "string",  "effective": "now",  "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf",  "variantName": "string",  "recurringMinor": -9007199254740991,  "interval": "string",  "intervalCount": -9007199254740991}