Retrieve enabled payment methods by API

Topic summary

Goal: Retrieve a store’s enabled payment methods (active payment gateways) via API (GraphQL or REST), ideally mirroring the order resource’s payment_gateway_names.

Current status: A Shopify staff member confirms this information is not accessible via the API at this time. They requested the use case; no official workaround or roadmap was provided.

Use case: An app syncs Shopify orders to third‑party accounting software and merchants want to auto‑sync only for specific payment methods (e.g., post‑invoice payment, credit card only).

Workaround discussed: Infer methods by fetching recent orders and aggregating payment_gateway_names. Limitations: heavy API usage and not guaranteed to be exhaustive of all enabled methods.

Outcome: No API endpoint exists to list all enabled payment methods; the request for access (or plans to expose it) remains unanswered. Discussion remains open with the core need documented but unresolved.

Summarized with AI on January 18. AI used: gpt-5.

Hey,

I’m trying to retrieve all payment methods enabled on a store by API (either GraphQL or REST actually).

Does anyone have any idea on how to do that?

This would help us add valuable feature to a Shopify App.

I found the following related topics which either remained unanswered or which points to a non-working endpoint for the 2nd one:

The idea would be to retrieve all payment methods enabled as they appear in the order’s resource under the “payment_gateway_names” field.

Thanks in advance!

1 Like

Hi :waving_hand:
Could you share your use case for requiring the Shop’s active payment gateways?

At this time this information is not accessible by the API.

Hi Lizk,

Thank you for your quick reply!

Sure, the use case is the following:

  • With my team, we develop an app that allows merchants to sync their orders with some accounting (third-party) software

  • This app enables automatic sync: when an order is placed on a store, the invoice gets automatically generated in the third-party invoicing software

  • Some users of this app want to only enable this automatic sync for specific payment methods (e.g. only sync orders which are paid “at invoice reception” which is quite common in our location; only sync orders which are placed by credit card as other are still handled manually in their accounting; etc.)

A workaround would be to fetch as much “last orders” as possible and create a set of all payment methods that have been used, but:

  1. That is unproductive (in terms of requests/API usage/development)

  2. That does not guarantee having an exhaustive list of all payment methods available

Thus, do you think their would be any way for us to access such information by API? (Or if there is any plan to make this public?)

Thank you!