API reference
BillingUsage
Current capture and attribution balances, credits, included usage and overage headroom. Admin access, workspace toolset, MCP tool get_billing_usage.
Access: Admin
Variables
This operation takes no variables.
Call it
bash
curl https://api.missin.co.uk/graphql/v1 \
-H "Authorization: Bearer $MISSIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"operationName":"BillingUsage","variables":{},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"f4808903964f1871a5cc5d8ff3880f449c7914c705bfbd16bb601a9f322a4ef5"}}}'Document
graphql
query BillingUsage { __typename billingUsage { __typename attributionAvailableGbp availableGbp balanceState captureAvailableGbp credits { __typename appliesTo expiresAt id kind name original remaining startsAt } currency hasPaymentMethod included { __typename attributedOrders posts recurringGbp remainingGbp } overage { __typename capGbp headroomGbp resetsAt usedGbp } periodUsage { __typename detail gbp product quantity } postpaid usageCeiling { __typename attributedOrders { __typename ceiling headroom used } nextTier posts { __typename ceiling headroom used } resetsAt } } }