TanqoryDocs

tanqoryExtDraftOrderCardEntry

  • Query
  • Orders and payments

How a card typed in the admin is collected and who takes it; null when no payment provider accepts credit cards.

Arguments

None.

Returns

TanqoryExtDraftOrderCardEntry How the admin collects a card for a draft order: the provider that takes it, and Stripe.js's public settings for it.

FieldTypeDescription
accountIdString

The store's Stripe connected account (Stripe.js stripeAccount), for stripe; null otherwise.

providerString!

stripe (the payments account: Stripe's own card fields), or the gateway account's handle (the number is typed).

publishableKeyString

Stripe's publishable key, for stripe; null otherwise.

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 TanqoryExtDraftOrderCardEntry {\n  tanqoryExtDraftOrderCardEntry {\n    accountId\n    provider\n    publishableKey\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10