v1

latestOpenAPI 3.1.0API content licensed for inference-only use2026-07-1348269.4 KB
Payment

Confirm a USDC payment and receive bearer token (nonce required)

Verifies the USDC Transfer event on-chain via Base RPC and mints a tf_live_ bearer token tied to the credit balance. Both tx_hash and nonce are required (the legacy no-nonce path is closed to prevent public-mempool tx sniping). The on-chain sender of the verified tx MUST match the sender_wallet bound to the quote at /api/payment/buy-credits; a mismatch returns { ok: false, error: "sender_mismatch" }.

post/api/payment/confirm

Request body

tx_hashstring required
noncestring required

The memo returned from /api/payment/buy-credits.

Example request

{
  "tx_hash": "0xabc...",
  "nonce": "tf-abc123"
}

Response

Bearer token + credit balance.

object required