Buy prepaid x402 credit (agents)
Answers 402 with one x402 exact-scheme requirement (USDC on Base) for the chosen amount ($1 when amount is left out); pay it with any x402 client. After the payment settles on-chain the answer carries credit_token, shown once and stored only as a hash. Send an existing token as X-Credit-Token to add to its balance instead. Not refundable; does not expire; one balance holds at most $1,000.
post/v1/credits/topup
Request
- Base URL: https://api.recallsapi.com
- URL: https://api.recallsapi.com/v1/credits/topup
- Auth: none required
Query parameters
amount'1' | '5' | '20'
Top-up in USD; the $1 top-up when left out
Headers
X-Credit-Tokenstring
Add to this balance instead of creating a new token
PAYMENT-SIGNATUREstring
x402 v2 payment payload (base64 JSON)
Response
Paid and credited
Changes
No recorded changes to this operation across all 1 revision of this API.