Invoicing

Invoicing

Bill customers with invoices that collect themselves. Draft, finalize, and get paid in stablecoins, with the invoice flipping to paid the moment the transaction confirms on-chain.

How it works

1

Create a draft

Set the amount, customer, description, and due date. Drafts can be edited until you finalize them.

2

Finalize the invoice

Finalizing generates a hosted payment page for the invoice that you can send to your customer.

3

Get paid on-chain

Your customer pays from their wallet. The invoice becomes paid on confirmation and your webhook fires.

What you get

  • Draft-to-paid lifecycle

    Clean statuses from draft to open to paid, mirrored in the dashboard and the API.

  • Hosted invoice pages

    Every finalized invoice gets a public payment page. No portal or login for your customer.

  • Tied to customers

    Invoices belong to customer records, so payment history stays organized in one place.

  • Due dates and metadata

    Set due dates in days or absolute time, and attach custom metadata for your own systems.

  • Powers subscriptions

    Recurring billing generates a finalized invoice each period; the period advances when it is paid.

Create and finalize an invoice

  1. 1

    Draft the invoice

    POST to /v1/invoices with an amount, a customer_id, a description, and a due date.

  2. 2

    Finalize it

    A second call to /finalize turns the draft (inv_...) into an open invoice with a hosted_invoice_url.

  3. 3

    Get paid on-chain

    The invoice flips to paid the moment the payment confirms, and your webhook fires.

Invoicing

Start accepting payments today

Free sandbox on Stellar Testnet. No credit card required.

← Back to home