{"uid":"cap_eQsi0pWE2iOfNor2bZBBI","slug":"bitrefill-invoice-status-redemption-code-retrieval-0c678d0f","name":"Bitrefill Invoice Status & Redemption Code Retrieval","description":"Check an invoice status and, with SIWX from the paying wallet, retrieve redemption codes.","url":"https://api.bitrefill.com/x402/invoice/status","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["invoice_id"],"properties":{"invoice_id":{"type":"string","description":"Invoice ID to check status for. Sign in (SIWX) with the paying wallet to also retrieve redemption codes."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OZMivka8u5LvPz_Nm0Mtn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks the payment status of a Bitrefill x402 invoice and, when authenticated via SIWX from the paying wallet, returns redemption codes for the purchased product.","exampleAgentPrompt":"Can you check whether invoice INV-abc123 on Bitrefill has been paid yet, and if so retrieve the redemption code using my wallet signature?","exampleUseCases":null,"resultDescription":"Returns the current status of the specified invoice (e.g. paid, pending, expired) and, when a valid SIWX signature from the paying wallet is provided, includes the redemption code(s) for the purchased gift card, airtime top-up, eSIM plan, or voucher.","failureModes":["Invoice ID not found — returns 404 or error indicating invalid invoice_id","Invoice not yet paid — returns status without redemption codes","SIWX authentication missing or invalid — returns status only, no redemption codes","Invoice expired — returns expired status with no codes","Wallet used for SIWX does not match paying wallet — codes withheld"],"whenToPreferThis":"Use this endpoint after initiating a Bitrefill x402 purchase to confirm payment completion and retrieve the actual redemption code. It is the correct post-payment polling endpoint in the Bitrefill x402 flow, distinct from product search or invoice creation endpoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:30:59.816Z","isFirstParty":false}