TanqoryDocs

tanqoryExtAppChargeConfirmation

  • Query
  • Apps and platform

The charge a confirmation URL names, as the approval page shows it; null when there is none or the signature is wrong.

Arguments

ArgumentTypeRequiredDefault
idID!Required
kindTanqoryExtAppChargeKind!Required
signatureString!Required

Returns

TanqoryExtAppChargeConfirmation What the approval page shows for one charge.

FieldTypeDescription
appTanqoryExtAppChargeApp!
balanceUsedMoneyV2
cappedAmountMoneyV2
currencyCodeCurrencyCode!
decidableBoolean!

Whether the merchant can still approve or decline it.

decisionBoolean

The merchant's decision when one was made here: true = approved, false = declined, null = none.

discountAmountMoneyV2

The fixed discount amount, or null for a percentage.

discountDurationInIntervalsInt

How many intervals the discount lasts; null = for as long as the subscription runs.

discountPercentageFloat

Discount as a fraction (0.2 = 20 %), or null for a fixed amount.

discountedPriceMoneyV2

The recurring price while the discount lasts.

expiresAtDateTime

When the charge expires unless decided (created + 2 days); null once decided.

firstChargeAtDateTime

When the first recurring charge would be made if approved now (after the trial).

idID!

The charge's gid (AppSubscription, AppPurchaseOneTime, or the AppSubscriptionLineItem of a new capped amount).

intervalAppPricingInterval
kindTanqoryExtAppChargeKind!
nameString!
oneTimePriceMoneyV2

A one-time purchase's price.

previousCappedAmountMoneyV2

A new capped amount: the cap in force now and what was used of it this period.

recurringPriceMoneyV2

The recurring price per interval, before any discount.

replacementTanqoryExtAppChargeReplacement
statusString!

The charge's status: PENDING until decided; ACTIVE, DECLINED, EXPIRED, CANCELLED or FROZEN after.

testBoolean!
trialDaysInt!
usageTermsString

Usage terms and the cap per 30 days of the usage line.

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 TanqoryExtAppChargeConfirmation($id: ID!, $kind: TanqoryExtAppChargeKind!, $signature: String!) {\n  tanqoryExtAppChargeConfirmation(id: $id, kind: $kind, signature: $signature) {\n    app { id }\n    balanceUsed {\n      amount\n      currencyCode\n    }\n    cappedAmount {\n      amount\n      currencyCode\n    }\n    currencyCode\n    decidable\n    decision\n    discountAmount {\n      amount\n      currencyCode\n    }\n    discountDurationInIntervals\n    discountPercentage\n    discountedPrice {\n      amount\n      currencyCode\n    }\n  }\n}","variables":{"id":"gid://tanqory/Type/id","kind":"CAPPED_AMOUNT","signature":""}}'

Built from commit c0b3fb3fdef7 · API version 2026-10