Skip to main content
Retrieve invoices from the Billions API using the order_no stored with your order. This is useful for displaying payment status, reconciling local records, or restoring an invoice after an uncertain create request. For example, a create request may time out after Billions has created the invoice but before your backend receives the response. Before creating another invoice, query the API using the stable order_no.

Retrieval and recovery rules

  1. Retry the same logical create attempt with the same idempotency key.
  2. Query by order_no when reconciling your local order with Billions.
  3. Match the amount, currency, and intended attempt before redirecting.
  4. Create a new attempt only when the previous attempt is no longer usable.