Documentation/API reference/Webhooks/
POST cardStatusChanged
Underlayer changed the status of one of your cards
Sent to the institution's webhook URL, signed and delivered exactly as decisionStatusChanged (the same secret, headers, retries and verification), each time Underlayer changes the status of one of your cards: card.suspended and card.terminated (a monitoring rule acted on a card event; reason_code RULE) and card.reinstated (the card is active again: PERSON, a person reinstated it; PERSON_CLEARING, a person cleared the last alert that suspended it; AI_CLOSURE, the AI triage closed that alert and your decision policy lets such a closure reinstate a card). Apply the status in your card processor; when in doubt, keep the card suspended and ask your team. A change that changes nothing, and a status you set yourself (POST /v1/cards), send nothing. The payload never carries a card number: the card is named by your card_token.
X-Underlayer-Idempotency-Key is card:<id of the card action>, the same on every attempt. De-duplicate by it and order by occurred_at.
Parameters
| Name | In | Description |
|---|---|---|
X-Underlayer-Event required | header | The event type. |
X-Underlayer-Delivery required | header | The delivery's id (the same on every attempt). |
X-Underlayer-Idempotency-Key required | header | card:<id of the card action>, the same on every attempt. |
X-Underlayer-Timestamp required | header | Unix seconds when this attempt was signed. |
X-Underlayer-Signature required | header | sha256=<hex HMAC-SHA256(secret, timestamp + '.' + raw body)> |
Request body
Responses
| Status | Body | Description |
|---|---|---|
2XX | Received. Any other answer, or none within 10 seconds, is retried. |
© 2026 Underlayer, Lithuania. info@underlayer.eu System status Privacy notice