TanqoryDocs

tanqoryExtCheckoutPaymentOptions

  • Query
  • Storefront

The payment options checkout offers for the cart, in order: the store's payments account, then its gateway accounts, then its active manual methods. Null when the cart is unknown or its key is wrong.

Arguments

ArgumentTypeRequiredDefault
cartIdID!Required

Returns

[TanqoryExtCheckoutPaymentOption!]

FieldTypeDescription
idID!

Opaque; give it to tanqoryExtCartPaymentOptionSelect.

kindTanqoryExtCheckoutPaymentOptionKind!
gatewaySlugString

The gateway slug (stripe for the payments account); null for a manual method.

nameString!

The gateway's or the manual method's name.

methodTypeString

card, promptpay, bank_transfer, ... (gateway options); null for a manual method.

testBoolean!

Payments in test mode.

manualPaymentTanqoryExtManualPaymentDetails

The manual method's details shown at checkout; null for other kinds.

clientConfigJSON

Public settings of the option for the checkout page (marks, banks / channels, installment plans, wallet flags), given by the gateway from the account's public values. Never a secret. May be null.

titleString

The name a payment customization gave this option (Settings › Payments › Payment customizations, rename); null: the checkout names it.

movedBoolean!

True when a payment customization moved this option: the checkout shows the options in this list's order.

chargeMoneyV2

What the buyer is charged with this option when it is not the cart's charge in the cart's currency: the store's payments account cannot charge the cart's currency, so it charges the shop currency, this exact amount (the cart's charge in the order's shop money). The checkout shows it before the buyer pays. Null: the cart's own amount and currency (cart.cost.checkoutChargeAmount).

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_STOREFRONT_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://$STORE_HOST/api/v1/stores/$STORE_ID/2026-10/graphql" \
  -H "X-Tanqory-Storefront-Access-Token: $TANQORY_STOREFRONT_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"query TanqoryExtCheckoutPaymentOptions($cartId: ID!) {\n  tanqoryExtCheckoutPaymentOptions(cartId: $cartId) {\n    id\n    kind\n    gatewaySlug\n    name\n    methodType\n    test\n    clientConfig\n    title\n    moved\n    charge {\n      amount\n      currencyCode\n    }\n  }\n}","variables":{"cartId":"gid://tanqory/Type/id"}}'

Built from commit c0b3fb3fdef7 · API version 2026-10