--- title: >- customerPaymentMethodGetUpdateUrl mutation for Customer payment methods is now available - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: >- https://shopify.dev/changelog/customerpaymentmethodgetupdateurl-mutation-for-customer-payment-methods-is-now-available md: >- https://shopify.dev/changelog/customerpaymentmethodgetupdateurl-mutation-for-customer-payment-methods-is-now-available.md metadata: effectiveApiVersion: 2021-10 affectedApi: [] primaryTag: displayName: API handle: api secondaryTag: displayName: New handle: new indicatesActionRequired: false createdAt: '2021-09-21T14:40:27-04:00' postedAt: '2021-10-01T00:00:00-04:00' updatedAt: '2024-12-13T17:24:32-05:00' effectiveAt: '2021-10-01T00:00:00-04:00' --- October 1, 2021 Tags: * API * 2021-10 # customerPaymentMethodGetUpdateUrl mutation for Customer payment methods is now available As of the 2021-10 API version, we have introduced a `customerPaymentMethodGetUpdateUrl` mutation to the Admin API that, given a customer payment method ID, returns a URL that enables a customer to update their payment method in a secure way when in a session. This mutation supports Shop Pay as of late 2021, and will expand support to other payment methods in the future. The `customerPaymentMethodSendUpdateEmail` is recommended as a fallback when the `customerPaymentMethodGetUpdateUrl` returns an error or when the customer needs to update their payment method outside of a session. Learn more about this mutation by visiting our [developer documentation](https://shopify.dev/api/admin/graphql/reference/customers/customerpaymentmethodgetupdateurl).