Skip to content

Get a payment update link for the customer

POST
/api/subscriptions/{id}/payment-method/update-url

Returns a secure Shopify-hosted URL the team can send to the customer to update the payment method on this subscription. Uses Shopify’s customerPaymentMethodGetUpdateUrl mutation.

id
string

Payment update link generated

object
url
required
string

Subscription has no Shopify contract, or Shopify rejected the request

Example
{
"error": "Subscription has no Shopify contract"
}