tanqoryExtPaymentProviders
- Query
- Orders and payments
Requires read_payment_settings access scope. About access scopes
The payment provider catalog with this store's status of each. kind: THIRD_PARTY or ALTERNATIVE; all when omitted.
Arguments
Returns
[TanqoryExtPaymentProvider!]! A provider of the catalog (Choose a provider).
| Field | Type | Description |
|---|---|---|
connectExisting | Boolean! | Whether an account the merchant already has there can be connected (Stripe: Connect OAuth set up here). |
connectable | Boolean! | Whether it can be connected from this environment. |
currenciesNotCharged | [TanqoryExtPaymentProviderCurrency!]! | The currencies this store sells in (its own currency and its active markets') that the connected account cannot charge (Stripe: the presentment currencies of the account's country). Checkout offers none of the provider's methods in these currencies; buyers paying in them see the store's other payment methods. Empty when every currency can be charged, when nothing is connected, or while the account's currencies are not known yet. |
handle | String! | |
kind | String! | THIRD_PARTY (card payments) or ALTERNATIVE (More ways to pay). |
name | String! | |
paymentMethods | [String!]! | Card brands and wallets the provider accepts (VISA, MASTERCARD, AMERICAN_EXPRESS, APPLE_PAY, ...). |
status | String! | NOT_CONNECTED, SETUP_INCOMPLETE or ACTIVE for this store. |
supports3ds | Boolean! |
Example request
A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.
Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
-H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
--data '{"query":"query TanqoryExtPaymentProviders {\n tanqoryExtPaymentProviders {\n connectExisting\n connectable\n handle\n kind\n name\n paymentMethods\n status\n supports3ds\n }\n}","variables":{}}'// Node.js 18 or later (fetch is built in). Save as request.mjs and run: node request.mjs
const query = `query TanqoryExtPaymentProviders {
tanqoryExtPaymentProviders {
connectExisting
connectable
handle
kind
name
paymentMethods
status
supports3ds
}
}`;
const variables = {};
const res = await fetch(`https://api.tanqory.com/admin/2026-10/stores/${process.env.STORE_ID}/graphql`, {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + process.env.TANQORY_ACCESS_TOKEN,
'Content-Type': 'application/json',
},
body: JSON.stringify({ query, variables }),
});
console.log(res.status, JSON.stringify(await res.json(), null, 2));# Python 3, standard library only. Save as request.py and run: python3 request.py
import json, os, urllib.request
query = """query TanqoryExtPaymentProviders {
tanqoryExtPaymentProviders {
connectExisting
connectable
handle
kind
name
paymentMethods
status
supports3ds
}
}"""
variables = json.loads("""{}""")
req = urllib.request.Request(
"https://api.tanqory.com/admin/2026-10/stores/" + os.environ["STORE_ID"] + "/graphql",
data=json.dumps({"query": query, "variables": variables}).encode(),
headers={
"Authorization": "Bearer " + os.environ["TANQORY_ACCESS_TOKEN"],
"Content-Type": "application/json",
},
)
with urllib.request.urlopen(req) as res:
print(res.status, json.dumps(json.load(res), indent=2))