Skip to content

Error Codes

When a payment verification fails, the AgentBureau gateway returns a 402 Payment Required or 400 Bad Request response with a specific reason string.

Reason StringHTTPMeaningRetry Strategy
tx_hash_already_consumed400This transaction hash has already been used for a successful payment.Do not retry with the same hash. Send a new transaction.
Transaction receipt not found402The transaction hash is not yet visible on the Base network.Retry after 2–5 seconds.
Transaction failed on-chain400The transaction was reverted on the blockchain (e.g., out of gas).Fix the issue in your wallet and send a new transaction.
Insufficient confirmations402The transaction is found but hasn’t reached the required confirmation depth.Retry after 10–30 seconds.
No valid USDC transfer found400The transaction succeeded but did not contain a valid USDC transfer to the GMBH wallet.Verify recipient address and amount, then send a new transaction.
Invalid signature format400The PAYMENT-SIGNATURE header does not match the expected 0x-prefixed hex format.Fix the format and retry the API call.
StatusMeaning
200 OKRequest processed successfully.
400 Bad RequestValidation error (non-payment related) or malformed payment header.
402 Payment RequiredInitial request (no payment) or payment verification is still pending/incomplete.
429 Too Many RequestsRate limit exceeded.
500 Internal Server ErrorGateway or backend provider error.