{"title":"Clear your x402 payments through hcrb.in","summary":"Buyers pay your wallet directly. hcrb.in verifies each payment, submits it through a facilitator and signs a receipt. It never holds the funds and takes no share of them.","facilitator_url":"https://api.code402.dev/facilitator","auth":{"header":"Authorization: Bearer ck_live_<key>","alternative":"X-Facilitator-Key: ck_live_<key>"},"credits":[{"settlements":500,"price":"£9 by card","url":"https://api.code402.dev/checkout?plan=operator_micro_9","renews":"One payment. Never tops up."},{"settlements":5000,"price":"£39 by card","url":"https://api.code402.dev/checkout?plan=operator_starter_49","renews":"Tops up automatically. See below."},{"settlements":75000,"price":"£399 by card","url":"https://api.code402.dev/checkout?plan=operator_pro_499","renews":"Tops up automatically. See below."},{"settlements":300,"price":"$1.00 in USDC on Base","url":"https://api.code402.dev/v1/quota/mint-x402?tier=micro_pass","renews":"One payment. Never tops up."}],"auto_top_up":{"applies_to":"The £39 and £399 packs when paid by card. Not the £9 pack, not USDC, and not cards billed in INR.","rule":"Your card is saved. When the balance falls to 500 credits or fewer it is charged £39, or the same amount in your billing currency, for 5,000 more credits.","turn_off":"POST /v1/operator/auto-recharge?key=<your key>&enabled=false","check":"GET /v1/operator/auto-recharge?key=<your key>"},"billing_rule":"Checking a payment is free. A settlement uses one credit, and only after the transfer to your wallet is confirmed on chain. A payment that fails uses none.","endpoints":[{"method":"GET","path":"/facilitator/supported","cost":"free","purpose":"Networks and tokens the facilitator accepts"},{"method":"POST","path":"/facilitator/verify","cost":"free","purpose":"Check a buyer's signed payment before you do the work"},{"method":"POST","path":"/facilitator/settle","cost":"1 credit on confirmed settlement","purpose":"Submit the payment to your wallet"},{"method":"GET","path":"/v1/exports/camt053?from=YYYY-MM-DD&to=YYYY-MM-DD","cost":"free","purpose":"XML statement of the settlements paid to your wallets. Your key sees only its own."},{"method":"GET","path":"/v1/operator/auto-recharge?key=<your key>","cost":"free","purpose":"Whether automatic top-up is on for your key. POST with enabled=false turns it off."}],"request_example":{"x402Version":2,"paymentPayload":{"x402Version":2,"resource":{"url":"https://your-api.example/report","mimeType":"application/json"},"accepted":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"25000","payTo":"0xYourWallet","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},"payload":{"signature":"0x<buyer signature>","authorization":{"from":"0xBuyerWallet","to":"0xYourWallet","value":"25000","validAfter":"0","validBefore":"<unix seconds>","nonce":"0x<32 bytes>"}}},"paymentRequirements":{"scheme":"exact","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"25000","payTo":"0xYourWallet","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}}},"responses":{"verify":{"isValid":true,"facilitated_third_party":true},"settle":{"success":true,"transaction":"0x<transaction hash>","payTo":"0xYourWallet","operator_credits_remaining":299,"receipt_id":"<receipt id>","verify_url":"<public link to the signed receipt>"}},"errors":[{"status":422,"code":"PAYEE_NOT_THIS_OPERATOR","meaning":"No seller key was sent for a payment to a wallet that is not ours."},{"status":402,"code":"FACILITATOR_QUOTA_EXHAUSTED","meaning":"The key has no credits left."},{"status":402,"code":"settlement failed","meaning":"The buyer's payment did not settle. No credit is used."},{"status":403,"code":"OFAC_SANCTIONS_BLOCKED","meaning":"The payer or payee wallet matched the sanctions list. The screen is exact-match and is not a clearance."},{"status":403,"code":"STATUTORY_COMPLIANCE_GATE_BLOCKED","meaning":"The check that runs before settlement refused the payment. Nothing was submitted and no credit is used."},{"status":422,"code":"BELOW_CLEARINGHOUSE_PRICE_FLOOR_10000_ATOMIC","meaning":"The payment is below the minimum for seller payments, 0.001 USDC."},{"status":503,"code":"RECEIPT_SIGNER_UNAVAILABLE","meaning":"The service cannot sign receipts at the moment. Nothing was submitted. Try again later."}],"scope":["Supported: USDC on Base (eip155:8453). Other networks listed by /facilitator/supported have not been exercised in production.","hcrb.in does not hold funds, does not guarantee payment and is not a party to your sale.","A receipt records that a payment settled. It does not prove that your service was delivered or was of a given quality.","A payment that settles on chain is final. hcrb.in does not reverse payments and does not decide disputes between you and your buyer."],"links":{"facilitator":"https://api.code402.dev/facilitator","supported":"https://api.code402.dev/facilitator/supported","receipt_verifier":"https://api.code402.dev/verify","terms":"https://api.code402.dev/terms","contact":"mailto:hello@code402.dev"}}