a month ago
Migrate customer payment method directly via API
A new API capability now allows brands to migrate customer payment methods from external payment aggregators directly into Shopify, enabling subscriptions to be created in Loop using those migrated payment methods.
What’s new
1. Payment method migration API
- A new endpoint allows migrating customer payment methods from supported payment aggregators:
Stripe, Authorize.net, Braintree, and PayPal. - Once migrated, the API returns the
paymentMethodShopifyIdin the response payload. - This ID can then be used for creating subscriptions in Loop.
Endpoint:
https://developer.loopwork.co/reference/migrate-customer-payment-method
2. Update in Create Subscription API
- The Create Subscription endpoint now supports passing
paymentMethodShopifyId. - This can be used instead of
paymentMethodId(Loop’s internal payment method identifier). - This improves flexibility when creating subscriptions through external integrations.
Use case
Brands using third-party order capture systems (such as IVR or telemarketing tools) often process payments through external gateways like Authorize.net and then create orders directly in Shopify.
With this API:
- Payment tokens from external gateways can be migrated to Shopify payment methods.
- The returned
paymentMethodShopifyIdcan then be used to create subscriptions in Loop via API.
This enables brands to capture orders outside Shopify while still managing subscriptions seamlessly in Loop. 🚀