Underlayer / Developers
Send a payment. Get a decision.
A REST API with signed webhooks, a sandbox with its own keys, and documentation that is tested against the code. This page is the overview; the guides and the reference go further.

Six steps to a first payment
- Get an API key. An administrator of your institution issues it in the application and chooses which data it may send. It is shown once. Authentication
- Start in your sandbox institution. It has its own key and takes test data. A production institution takes production data only. Sandbox and test data
- Send your customers’ due-diligence data before their payments, so each payment is monitored against the customer’s record. If you issue cards, register each card before its events. Customer data, Cards
- Send each payment before it settles and settle it only when the answer says
RELEASED. Payments - Set your decision webhook, so the later decision on a held payment reaches you. Decision webhooks
- Handle errors and retries as the guides describe. Every error answer is in one table. Idempotency and retries, Errors

The endpoints
Each row opens its page in the API reference: every field, answer and example.
POST/v1/transactionsSubmit a payment. The answer is its decision.GET/v1/transactions/{id}/decisionRead a payment’s current decision.POST/v1/card-authorizationsCard authorisations, withdrawals, refunds and reversals, answered in real time.POST/v1/cardsRegister a card and its status. A full card number is never accepted.POST/v1/customer-eventsSign-ins, credential, contact and payee changes, cards added, card payments confirmed in your app.POST/v1/cdd-ingestYour customers’ due-diligence records.GET/v1/healthA health check that needs no credential.
What every integration must get right
- Settle only
RELEASED. A 2xx answer is never an approval by itself. - Retry safely. The same source system and transaction ID, with the same Idempotency-Key, returns the payment’s current decision and never makes a second payment.
- Never retry a 4xx other than 429 unchanged. Wait at least Retry-After on a 429 or a 503.
- Ignore answer fields you do not know. New ones are added within version 1.
- Verify every webhook’s signature on the raw body before you parse it.
In your payment path
How fast
A payment is decided in a median of 0.14 seconds, screening and rules included, and 95 in 100 within about 0.3 seconds.
The time budget
A payment is evaluated within a budget of 12 seconds. If screening does not finish in time, the payment is held for a person, never released unscreened; it is screened again in the background and released if nothing is found.
PaymentsUnder load
Over its capacity the API answers 503 Service busy at once, with Retry-After, and stores nothing. The same request sent again is safe.
If Underlayer cannot be reached
Your institution chooses its policy in the application: your system holds the payment until we answer, or lets it go and sends it to us afterwards, marked as already executed. Until you choose, nothing is assumed.
Payments sent after an outageDecisions and webhooks
A payment that is not released at once is decided later: by a person, or by your decision policy on the AI’s recommendation where you have switched automatic closure on. Any status other than RELEASED means: do not settle. You are told the outcome by webhook, or you read the decision.
A delivery leaves within seconds of the change. Compute the HMAC-SHA256 of the timestamp, a dot and the raw body with your webhook secret, compare it in constant time with the signature header, and refuse a delivery that is more than a few minutes old.
Answer any 2xx within 10 seconds. Otherwise it is retried at growing intervals, from one minute to 24 hours, eight attempts in all. Changes that Underlayer makes to one of your cards arrive at the same address, signed the same way.
POST <your webhook address> X-Underlayer-Event: decision.released X-Underlayer-Delivery: 00000000-0000-4000-… X-Underlayer-Idempotency-Key: DEC-2026-000124:3 X-Underlayer-Timestamp: 1756718400 X-Underlayer-Signature: sha256=<hex>
The headers of a decision webhook.
Sandbox and test data
Your test data and your real data live apart, as in the test and live modes of payment APIs. Each institution has its own keys. References that begin EXAMPLE- are refused on purpose, so a copied example never creates data.
Sandbox and test dataOptional context that sharpens the rules
A payment can carry what your systems know about its session: IP address, device, time zone, how it was initiated and what the payee check said. Every field is optional. One that is malformed never refuses the payment: it is left out and named in the answer’s warnings.
Session and device dataBuild it with an AI coding tool
The documentation includes one file written for Claude Code, Cursor or Codex: every operation, field, value and answer, the retry rules, the webhook signature check and the steps to check your work in the sandbox.
The file for AI coding toolsStarting with files
Start with file imports for customers, transactions and cards. Every upload has a sample file with each column it accepts, and past transactions can be loaded as history, so monitoring starts from what is normal for your customers.
More of the product
Transaction monitoringRules on every transaction, in words you can read.
AI investigationAn AI agent that investigates and shows its work.
Sanctions screeningBoth parties. Every payment. Every customer, every night.
Quality control and auditInside the product, not in a spreadsheet beside it.
SecurityHow the platform is hosted, and who can reach your data.
Ask for sandbox access.
Your developers send a first test payment and see the decision come back.