TanqoryDocs

tanqoryExtPaymentGatewayAccounts

  • Query
  • Orders and payments

Requires read_payment_settings access scope. About access scopes

The store's gateway accounts that are not disconnected, in checkout order.

Arguments

None.

Returns

[TanqoryExtPaymentGatewayAccount!]!

FieldTypeDescription
createdAtDateTime!
credentials[TanqoryExtPaymentGatewayCredentialValue!]!

Non-secret values as saved, and a fixed mask ("••••••••", no character of the value) for each secret one.

enabledMethods[TanqoryExtPaymentMethodType!]!
externalAccountIdString
gatewayTanqoryExtPaymentGateway!
idID!
lastErrorString

An error code only (INVALID_CREDENTIALS), never a gateway message.

lastVerifiedAtDateTime
positionInt!
returnUrlURL

Where this account's gateway sends the buyer back after paying (api.<root>/v1/webhooks/payments/<store>/<account>/return), for a gateway that returns the buyer only to an address the merchant fixes in the provider's own console (its payment source, its allowed redirect addresses); null for every other gateway, whose return address goes with each payment.

statusTanqoryExtPaymentGatewayAccountStatus!
testBoolean!
updatedAtDateTime!
webhookUrlURL

Where this account's gateway sends payment notifications (api.<root>/v1/webhooks/payments/<store>/<account>), for a gateway whose notification address the merchant pastes in the provider's own console; null for a gateway without webhooks, and for one that sends the address with each request (nothing to paste).

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
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 TanqoryExtPaymentGatewayAccounts {\n  tanqoryExtPaymentGatewayAccounts {\n    createdAt\n    enabledMethods\n    externalAccountId\n    gateway { id }\n    id\n    lastError\n    lastVerifiedAt\n    position\n    returnUrl\n    status\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10