Added

Migrate customer payment methods to Shopify via Admin API

You can now migrate customer payment methods from external payment processors directly into Shopify using the new Admin API endpoint - making it easier to bring existing payment data into Loop and create subscriptions without manual intervention.

What's New?

  1. New Migrate customer payment method endpoint: A new POST endpoint is now available under Payment Methods in the Admin API. It allows you to migrate a customer's payment method from a supported third-party payment processor into Shopify.
    • Supported processors: Stripe, Authorize.Net, Braintree, PayPal
    • On successful migration, the response payload will include a paymentMethodShopifyId - the Shopify payment method reference you can use downstream to create or manage subscriptions.
  2. [Improvement] paymentMethodShopifyId now accepted in Create subscription endpoint: When creating a subscription via the Admin API, you can now pass paymentMethodShopifyId as an alternative to Loop's internal paymentMethodId. This is particularly useful when the payment method has been migrated from an external processor and a Loop internal ID is not yet available.

Things to remember:

  1. The paymentMethodShopifyId is returned in the response of the migrate payment method endpoint and can be passed directly into the create subscription call.
  2. Ensure the payment token from the third-party processor is valid and active before initiating migration.