Getting started
The API an e-money or payment institution calls to have its payments and card events monitored in real time, to look a payment's decision up, and to send its customers' due diligence (CDD) data.
The six steps
- Get an API key. An administrator of your institution issues it on the API and webhooks screen of the application, choosing which data classifications it may send. It is shown once: store it in your secret store. See Authentication.
- Use your sandbox institution first. Integration tests go to a sandbox institution with its own key, sending
data_classification: TEST; a production institution takesPRODUCTIONdata only. See Sandbox and test data. - Send your customers' CDD data before their payments (
POST /v1/cdd-ingest), so that each payment is monitored against the customer's CDD record. See Customer data (CDD). If you issue cards, register each card (POST /v1/cards) before its card events. See Cards. - Send each payment before it settles (
POST /v1/transactions) and settle it only when the answer saysRELEASED. See Payments. - Set your decision webhook on the same screen, so a held payment's later decision reaches you. See Decision webhooks.
- Handle errors and retries: Errors and Idempotency and retries.
The base address is the servers entry of openapi.yaml. Every request and answer is JSON over HTTPS.
Quickstart: your first payment
Send an outgoing SEPA transfer with a test key. The references below begin EXAMPLE- and are refused on purpose, so a copied example never creates data: put your own references in their place.
POST /v1/transactions
X-API-Key: ak_0123456789abcdef.<your secret>
Content-Type: application/json
Idempotency-Key: 7f0c1c52-9a4e-4b0a-8f5e-2c1d3b4a5e6f
{
"external_transaction_id": "EXAMPLE-TX-0001",
"source_system": "CORE-BANKING",
"customer_ref": "EXAMPLE-C-0001",
"channel": "SEPA",
"direction": "OUTGOING",
"amount": 1250.00,
"currency": "EUR",
"transaction_timestamp": "2026-09-01T09:15:00Z",
"counterparty": "Example Supplier GmbH",
"counterparty_country": "DE",
"data_classification": "TEST"
}
The answer comes within seconds. 200 with status: RELEASED means the payment may settle:
{
"duplicate": false,
"transaction_id": "00000000-0000-4000-8000-000000000001",
"decision_id": "00000000-0000-4000-8000-000000000002",
"decision_ref": "DEC-2026-000123",
"status": "RELEASED",
"rejection_action": null,
"decision_reason": "No monitoring rule triggered and no restriction requires review",
"correlation_id": "6f1c2f9e-0000-4000-8000-000000000003",
"received_at": "2026-09-01T09:15:01.102345+00:00",
"policy_version": "decision-policy-v1.6",
"alert_id": null,
"triggered_rules": [],
"rules_evaluated": 9,
"rules_deferred": 0,
"tm_latency_ms": 41,
"total_latency_ms": 63,
"estimated_next_state": "final"
}
Any other status means: do not settle. A 202 with HOLD, AI_INVESTIGATION, HUMAN_REVIEW or ESCALATED is a payment the institution's monitoring is still deciding; you are told the decision by the decision webhook, or you poll GET /v1/transactions/{id}/decision. Send the same request again after a timeout: it answers the payment's current decision with duplicate: true and never makes a second payment.
What every integration must get right
- Settle only
RELEASED. A2xxanswer is never an approval by itself. - Retry safely: the same
source_systemandexternal_transaction_id(andIdempotency-Key) for a payment, the sameIdempotency-Keyfor a card event. - Never retry a
4xxother than429unchanged; wait at leastRetry-Afteron a429or503. - Read an error by its HTTP status and
error_code(Errors), never by its words. - Ignore answer fields you do not know: new ones are added within v1 (Versioning and changelog).
- Read times in answers as ISO 8601 date-times: they carry microseconds and a zone offset (
2026-09-01T09:15:01.102345+00:00), so parse them, never compare or cut them as text. - Verify every webhook's signature on the raw body before you parse it.
© 2026 Underlayer, Lithuania. info@underlayer.eu System status Privacy notice