Subscriptions · Card update link
API reference / Subscriptions
Card update link
POST/api/v1/billing_subscriptions/:uid/card-update-linkno app scope
A link where the subscriber replaces the card on file. A small temporary hold checks the new card before it takes over.
Path parameters
uidstringrequired
The subscription's uid.
Body
storefront_basestring
Your own store's address, if the link should open there.
Headers
Authorizationheaderrequired
Bearer with your secret key, or the merchant's OAuth token.
Returns
link to send the customer and its token.
Errors
200 | state: "error": Subscription Not Found, or Subscription is not active. |