tanqoryExtPaymentGateway
- Query
- Orders and payments
One catalog gateway by slug, or null.
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
slug | String! | Required |
Returns
| Field | Type | Description |
|---|---|---|
account | TanqoryExtPaymentGatewayAccount | The store's account at this gateway, if connected. |
capabilities | [TanqoryExtPaymentGatewayCapability!]! | What the adapter can do; empty when no adapter is installed. |
closesOn | Date | The provider is closing (DECISIONS row 166): its last day. A store already connected keeps taking payments with it until then; no store can connect it any more, and after that day it is not offered. Null when it is not closing. |
connectKind | TanqoryExtPaymentGatewayConnectKind! | |
countries | [String!]! | ISO 3166-1 alpha-2 codes; empty means every country. |
credentialFields | [TanqoryExtPaymentGatewayCredentialField!]! | The fields of the connect form. |
currencies | [String!]! | ISO 4217 codes; empty means any currency. |
feesNote | String | Fees as the gateway publishes them ("3.65% + 10 THB"). Informative only. |
id | ID! | |
integrationStyle | String! | FULL_ADAPTER, API_CLIENT, HOSTED_PAGE or CONFIG_ONLY (informative). |
logoUrl | URL | |
name | String! | Display name, never translated. |
noTestEnvironment | Boolean! | The provider documents only its live service, with no test environment (docs/payments/PORTING.md "Live-host-only providers"): a test connection is refused, and live connections to third-party providers are not allowed yet, so it cannot be connected yet. Settings › Payments says so on the provider's page and in its connect form. |
paymentBrands | [String!]! | The payment-method badges of the row, in display order: card schemes and named wallets ( |
paymentMethods | [TanqoryExtPaymentMethodType!]! | |
readinessNote | String | |
slug | String! | |
status | TanqoryExtPaymentGatewayStatus! | READY only when the catalog row is READY and its adapter is installed. |
successorSlug | String | The catalog slug of the provider a closing provider moves its merchants to (GB Prime Pay: |
supports3ds | Boolean! | Shown as "Supports 3DS". |
websiteUrl | URL |
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 TanqoryExtPaymentGateway($slug: String!) {\n tanqoryExtPaymentGateway(slug: $slug) {\n account { id }\n capabilities\n closesOn\n connectKind\n countries\n currencies\n feesNote\n id\n integrationStyle\n logoUrl\n }\n}","variables":{"slug":""}}'// Node.js 18 or later (fetch is built in). Save as request.mjs and run: node request.mjs
const query = `query TanqoryExtPaymentGateway(\$slug: String!) {
tanqoryExtPaymentGateway(slug: \$slug) {
account { id }
capabilities
closesOn
connectKind
countries
currencies
feesNote
id
integrationStyle
logoUrl
}
}`;
const variables = {
"slug": ""
};
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 TanqoryExtPaymentGateway($slug: String!) {
tanqoryExtPaymentGateway(slug: $slug) {
account { id }
capabilities
closesOn
connectKind
countries
currencies
feesNote
id
integrationStyle
logoUrl
}
}"""
variables = json.loads("""{
"slug": ""
}""")
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))