POSTs a signed JSON payload to a consumer URL you register for your program.
To get started, contact the team to register your
endpoint and receive your signing secret.
Your program has one consumer URL for production and one for sandbox, and they must
be different. Each event goes to the endpoint for the environment it came from. Because the
payloads do not name the environment (see below), the URL that was called is how you tell
which one it was.
Common envelope
Every delivery has the same top-level fields. The event type decides which additional object is included — anaccount object on account events, a card object on card events,
and so on.
programId and sandbox appear only on CUSTOMER_STATUS_UPDATE deliveries that carry a
kycStatus. No other notification includes them.
Payloads are deliberately thin. Transaction events carry an identifier, not the full
record — fetch the details through the API with your operator credentials.
Events
Each event has its own reference page with the exact payload.
Card activity is covered end to end in the card transactions guide, available from
client.support@orenda.finance: which events each
stage of a purchase sends, and which stages send none.
Card authorisation decisions
Two further events are not notifications. Orenda sends them and waits for your answer to approve or decline a card transaction in real time. Your program must be registered for this service — contact the team.
Those names are what you use to enable the service. In the body, the value is the
lower-case dotted form (
"event": "card.authorization.requested") and there is no
eventName, so switch on event. They are signed differently and are sent once, never
retried or replayed — see the reference page.
Everything below applies to notifications only.
Verifying the signature
Every notification is signed with HMAC-SHA256 over the raw request body, using your program’s signing secret. The signature arrives in theOrenda-Payload-Signature
header as a plain hex digest:
timestamp field in the body is not signed
separately and is not a freshness check, so rely on de-duplication
to guard against a replayed request.
Test vector
Secrettest_secret_do_not_use and this raw body, exactly as shown with no whitespace:
Orenda-Payload-Signature
0f3d59672d675381855490e82b1b1107a2ddae138ef1e0eb618dc940b8d265fd.
Delivery behaviour
Respond with any2xx within 10 seconds to acknowledge. The response body is ignored.
Acknowledge first and process afterwards.
Retries
A delivery is retried when your endpoint times out, can’t be reached, or answers5xx,
429 or 408. Any other 4xx, and any 3xx (redirects are not followed), is final.
Each wait is randomly shortened by up to 20% so that a backlog does not arrive all at once.
If you answer
429 with a Retry-After header, we wait that long instead (up to 15
minutes). After the fourth attempt the delivery is marked failed and is not retried again.
Every attempt carries these headers:
These headers are not covered by the signature. Use them for logging and de-duplication,
never for a security decision.
Replays
We keep a record of every delivery and its attempts for 180 days. If your endpoint was down for longer than the retries cover, or you lost an event after acknowledging it, contact the team and we will replay it. A replay sends the same event to the same URL as a new delivery, with the full retry policy, and the sameeventId.
Because the eventId is unchanged, your de-duplication will recognise a replay as a
duplicate. If you recorded the event but lost it downstream, clear that entry first.
Duplicates and ordering
Delivery is at-least-once, so your handler must be idempotent. De-duplicate oneventId — it is derived from the change itself, so it never differs between two
deliveries of the same change.
Events are not guaranteed to arrive in the order they happened. A retry arrives after
events that were sent later, and order is never guaranteed across accounts or between the
two producers that both report a settlement (see
TRANSACTION_CREATED). Order on the payload, not on
arrival.
For events that have a natural business key, it is an equivalent de-duplication key:
TRANSACTION_UPDATED has no business key. A purchase that goes 50 → 60 → 50 → 60 sends
two AMOUNT_INCREASED events that are identical except for eventId and timestamp, and
both are real.
Unknown events and fields
Return2xx for anything you do not recognise — an event name, a reason, a status, or a
field. New ones are added without notice. Acknowledge them and read the record from the
API if you need to know what happened.