Product

From payment intent to reconciliation.

FeitPay is a gateway for merchants who want to take crypto payments and still keep the kind of records a finance team asks for. Below is everything a payment goes through.

How it works

Six stages, one trail of evidence.

Each stage writes down what it saw and why it decided what it did. A rule lives in one stage only, so later stages never re-implement it.

  1. Your server

    Payment intent

    Amount, currency and an idempotency key, sent with your live key. We take your organisation from the API key, never from the request body.

    POST /v1/payment-intents
  2. Customer

    Invoice

    The customer picks an asset. Checkout opens an invoice in FeitPay’s payment processor with the exact amount and an address for this payment.

    invoice · address
  3. Payment processor

    Observation

    FeitPay’s payment processor follows the payment on the chain. FeitPay doesn’t trust a callback body: it fetches the invoice again before any status change, and it polls as well.

    paid → confirmed → complete
  4. State machine

    Finality

    A payment becomes confirmed only when the payment processor reports its invoice complete. Partial and excess payments get their own status, and late funds go to review. Nothing is credited quietly.

    confirming → confirmed
  5. Dispatcher

    Webhook

    Every change you can see from outside produces an event. Events are signed, retried and can be replayed, and they come from a transactional outbox.

    payment.confirmed
  6. Finance

    Balance & reconciliation

    The amount received is credited to your custodial balance exactly once. A reconciler runs all the time and flags differences. Payouts are reviewed by an operator before they go out.

    balance · payouts · CSV

Lifecycle

The same status means the same thing everywhere.

There are fourteen statuses. Each has a label, an icon and one sentence of explanation, and you see the same wording in checkout, the dashboard, the API and webhooks.

Payment intent state machineThe normal path runs from created to confirmed. Exception states cover expiry, underpayment, overpayment, chain reorganisation, late payment, manual review and resolution. The full list of transitions follows as text.createdawaiting_paymentdetectedconfirmingconfirmedcanceledexpiredunderpaidoverpaidreorgedfailedlate_paymentmanual_reviewresolved
One state machine applies every transition, using compare-and-set in the database. Workers only submit evidence. They never write a status themselves.
All transitions as text
  • created → awaiting_payment
  • awaiting_payment → detected
  • detected → confirming
  • confirming → confirmed
  • created → canceled
  • awaiting_payment → expired
  • expired → late_payment
  • confirming → underpaid
  • confirming → overpaid
  • confirmed → reorged
  • reorged → confirming
  • underpaid → manual_review
  • overpaid → manual_review
  • late_payment → manual_review
  • reorged → manual_review
  • manual_review → resolved
  • awaiting_payment → failed

What you get

What’s in the box.

  • Hosted checkout

    A fast payment page with the exact amount, the address for this payment, a QR code and the status as it changes. It doesn’t use WebGL.

    Learn more
  • Merchant dashboard

    Payments, invoices, payment links, balances, payouts, webhooks, API keys, team roles, reconciliation and exports. Empty and error screens say plainly what is going on.

    Learn more
  • API & SDKs

    An OpenAPI 3.1 contract written first, idempotent writes, typed errors, cursor pagination and request IDs. There is a TypeScript SDK and a webhook verifier.

    Learn more
  • Signed webhooks

    HMAC-SHA256 over the timestamp and the raw body, replay windows, secret rotation with an overlap period, delivery logs and manual replay.

    Learn more
  • Reconciliation & exports

    Queues for underpaid, overpaid and late payments. CSV exports with UTC timestamps. A billing history that can’t be edited.

    Learn more
  • Operator controls

    A separate console for the FeitPay team, with optional two-factor sign-in and an audit trail that can only be added to.

    Learn more

Good to know

What FeitPay does and doesn’t do.