Buy prepaid stack pack or read remaining

Bare GET or pack=1 → HTTP 402 (USDC $1.00 → 80 credits, 7-day TTL). pack=5 → $5/500/30d; pack=25 → $25/3000/90d; pack=100 → $100/15000/180d. Invalid pack → 400 before settle. GET ?id= returns remaining (no extra charge). Then send X-54ch10-Stack: <id>. Unused credits expire. NOT a vault. Not refundable.

get/v1/stack

Request

  • Base URL: https://54ch10.uk
  • URL: https://54ch10.uk/v1/stack
  • Auth: none declared

Query parameters

pack'1' | '5' | '25' | '100'

Prepaid pack size (default 1)

amountstring

Alias for pack (1|5|25|100)

idstring

Stack id for remaining lookup

Headers

PAYMENT-SIGNATUREstring

Base64-encoded x402 v2 PaymentPayload after client signs USDC authorization

Response

{ok,pack,paid_usd,credits,ttl_days,header,expires,note} or remaining

Changes

No recorded changes to this operation across all 1 revision of this API.