Customer Portal

Update a customer's subscription card through Stripe

Accepts only linkId. Validates portal ownership before creating a setup-mode Checkout session. On completion it revalidates the link, customer, account and portal grant, and updates only the selected subscription. No customer-wide default changes or immediate invoice collection. Linking, unlinking and portal management are unavailable to this credential.

post/portal/{token}/subscriptions

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/portal/{token}/subscriptions
  • Auth: none required

Path parameters

tokenstring required

Request body

linkIdstring uuid required

Response

{checkoutUrl:string}, a short-lived secure Stripe card-entry URL

Changes

No recorded changes to this operation across all 5 revisions of this API.