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
Example request
{
"tx_hash": "0xabc...",
"nonce": "tf-abc123"
}Response
Bearer token + credit balance.
object required