Subscriptions

Start a Stripe-hosted card setup for the buyer (send them the link)

POST
/v1/stores/{storeId}/subscriptions/{subscriptionId}/update-card

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/update-card" \  -H "Content-Type: application/json" \  -d '{    "idempotencyKey": "stringst"  }'
{  "updateId": "5cebcd16-bfee-44cf-a327-a26bd6ddf285",  "url": "string",  "simulated": true}