TanqoryDocs

tanqoryExtPosCardPayment

  • Query
  • Orders and payments

A card-present payment of this store (never its clientSecret).

Arguments

ArgumentTypeRequiredDefault
idID!Required

Returns

TanqoryExtPosCardPayment A card-present payment at a register.

FieldTypeDescription
amountMoneyV2!
authorizationExpiresAtDateTime

When the authorization lapses unless captured (the provider's own deadline, else 2 days after authorization).

cardTanqoryExtPosCardDetails

The card, once authorized.

clientSecretString

Only in tanqoryExtPosCardPaymentCreate's answer (and its replay), never in a read: the app passes it to the reader SDK (retrievePaymentIntent) and drops it. Never store or log it.

errorCodeString

The provider's last decline or failure code (card_declined, insufficient_funds, ...).

idID!

gid://tanqory/TanqoryExtPosCardPayment/<uuid>

orderIdID

The order a sale attached it to.

providerPaymentIntentIdString

The provider's PaymentIntent (pi_…).

statusTanqoryExtPosCardPaymentStatus!

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 TanqoryExtPosCardPayment($id: ID!) {\n  tanqoryExtPosCardPayment(id: $id) {\n    amount {\n      amount\n      currencyCode\n    }\n    authorizationExpiresAt\n    clientSecret\n    errorCode\n    id\n    orderId\n    providerPaymentIntentId\n    status\n  }\n}","variables":{"id":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10