List payments
An invalid
from or to returns 400 BCK.ROUTER.0001 rather than silently ignoring the filter.
amount is in the asset’s smallest unit — divide by 106 for the 6-decimal stablecoins both rails use. The figure charged against your Delegation cap is the cents equivalent, rounded up, which is why a long run of sub-cent calls costs more budget than the raw amounts suggest.
Export
Aggregate summary
For dashboards and spend monitoring,GET /api/v1/router/payments/summary returns a total plus a time series instead of individual rows.
granularity is day (default), week, or month; an unrecognised value falls back to day rather than erroring. from and to work as above. Buckets are oldest first.
The summary counts payment requests, not amounts. Use the list endpoint when you need money rather than volume.
Record statuses
Closing a mode-A record
In mode A the Router only signs — it never sees the merchant’s response, so it can’t know whether you redeemed the credential. Report the settlement to close the record:PAYMENT-RESPONSE header. Two things to know:
- Only an
Issuedpayment can be settled. Re-reporting the same hash is a harmless no-op; a different hash, or a record that isn’tIssued, returns409 BCK.ROUTER.0005. - A payment id that isn’t yours returns
404 BCK.ROUTER.0004.
Reconciling against the chain
The settlement reference is reported by the merchant and stored unverified. The Router bounds its length and character set, but it does not confirm on-chain that the transaction exists, that it paid the expected recipient, or that it moved the expected amount. So for anything that matters — accounting, disputes, anomaly detection — treattxHash as an anchor to verify, not as proof. Check it against the chain named in the record’s network field.
Note also that a non-0x reference is legitimate: settlement identifiers are protocol-specific, and non-blockchain rails return processor references rather than transaction hashes. Don’t assume the field is always a hash.
Next
Guardrails
Every error code, and what to do about each.
Overview
Back to the top.