Unlike notification webhooks, authorisation request webhooks ask you a question and wait for your answer. When a cardholder taps, swipes, or enters their card details, Orenda runs its own checks first — balance, spending limits, merchant category, and country restrictions. If those checks pass, we forward the authorisation to your endpoint. You then have the final say: approve it, or decline it based on your own business rules.
New to card transactions? Start with the card transactions guide (available from client.support@orenda.finance) for the full lifecycle — what you are asked, what you are told, and when.
This feature is available by application only. It is not enabled by default — contact the team to request it for your program. The callback URL and the timeout are configured by Orenda.
You must answer every decision request, and an unanswered authorisation is declined. The card network is holding the transaction open while it waits for your answer. Your endpoint has a maximum of 2 seconds to respond — if you miss the deadline, the response is ignored and the transaction is treated as unanswered. We do not answer in your place.Your endpoint’s availability is therefore part of your card service: while it is down or answering unusably, authorisations on your programme are declined. Refunds are the one exception — see Refunds.

Two events

Enabling CARD_AUTHORIZATION_REQUESTED automatically enables both — you will always be consulted on incremental authorisations for transactions you already approved. Both events share the same transaction.transaction_link_id, so you can match an incremental request back to the original authorisation.

Example payload

Fields worth reading twice

Transaction types

type_code is the network’s own two-digit code and type is its label. The set is closed: every value you can receive is in this table. Key behaviour on type_code, not on type. The label is stable and is safe to display, but the code is what we match on ourselves and what the network guarantees. A code outside this table is still delivered: type falls back to Transaction type <code> and entry_channel is omitted. That means the network has published something new, so treat it as a purchase you do not recognise rather than as an error.
“Moves money” is the network’s own classification, for context — it is not a field on the payload. The authoritative signal for direction is the sign of amount: negative is money leaving the cardholder, positive is money returning.
Optional fields are omitted when unknown — they will not appear in the payload at all, rather than being sent as null. Do not assume every field is always present.

Refunds

Refunds arrive through the same events — there is no separate refund event. You can tell them apart by the amount: negative for a purchase (money leaving the cardholder), positive for a refund (money coming back).
A refund is never declined because we could not reach you. If your endpoint times out, errors or answers unusably on a refund, we approve it. Declining one would protect nothing: a refund places no hold and the money moves at settlement, which never consults your answer — it would only refuse the cardholder their own money at the terminal, over a fault on our side of the call.An explicit {"decision": "decline"} on a refund is still honoured — you answered, and that is the control you asked for.This covers the codes that can only ever credit, which is every credit code in the table above except one. 40 (Cardholder Account Transfer) is published “Credit and Debit”: the network can settle it in either direction, so it may arrive with a positive amount and still take money. A 40 we could not ask you about is therefore treated like any other unanswered transaction, not as a guaranteed credit. Do not infer from a positive amount alone that a no-answer will approve — check type_code.
Two more cases reach you through the same events:

Expected response

Respond with any 2xx status and a JSON object containing a decision field. Partial approvals are not supported: approve the full amount or decline. Approve:
Decline:

reason selects what the cardholder sees

Send reason as one of the values below. It is not a note for our support team — it selects the response code the card network returns, which is what the terminal prints and what the cardholder is told. A decline for an expired card and a decline on your own risk rule should not read the same at the till. Matching ignores case and surrounding whitespace. Nothing else is guessed at: we will not read card-expired or Insufficient Balance as anything but unrecognised.
Your decline is always honoured. An unrecognised or missing reason never turns a decline into an approval and never causes an error — only the code we return changes. Anything outside the list, and an absent reason, is read as unknown and returns 119.That is exactly what every decline returned before this list existed, so a receiver written against the earlier free-text contract keeps working unchanged. It just gives the cardholder the least useful message we have, on every decline. Send a real reason.
system_error is for when you could not decide — your rules engine was down, a dependency timed out. Do not use it to describe the cardholder’s situation. We also keep the raw string you sent, for support and investigation: trimmed and truncated at 200 characters. That text is never relayed to the network and never shown to the cardholder — only the code it selects is.
Only a 2xx with "decision": "approve" approves a transaction. Any other response is treated as no answer — this includes:
  • Non-2xx status codes (3xx, 4xx, 5xx)
  • Unparseable or empty body
  • An unrecognised decision value
  • No complete response within 2 seconds
  • A response over 64 KiB
  • 200 {"ok": true} (a common mistake if you reuse a notification webhook handler)
Every one of these is declined, refunds excepted. There is no response we read as “decide this one for me”.

Verifying the signature

Authorisation request webhooks use a different signature format to notification webhooks. Notification webhooks sign the raw body only. Authorisation requests sign <timestamp>.<body> — you cannot reuse the same verification logic for both.
Bind the clock as well as the body. We sign the timestamp but do not reject on it — that is yours to enforce, and without it a captured request replays forever. Reject anything more than 300 seconds old, as above; use the same value everywhere so a clock skew problem looks the same in every environment.

Test vector

Check your implementation against this known input:
The same signing secret is used for decision requests and webhooks. In rare cases a decision request can arrive without a signature. Rejecting it with a non-2xx counts as no answer — decide deliberately which you want.

How to identify an authorisation request

If Orenda-Event-Id is present, this is an authorisation request — answer it with a decision. Notification webhooks never carry it. If Orenda-Signature-Timestamp is also present, verify using <timestamp>.<body> as the signing base — not the body alone. If neither header is present, this is a notification webhook and you verify using the body only (see notification webhook signature verification).
Do not use the timestamp header alone to tell the two apart. A decision request can arrive unsigned, and then it carries neither Orenda-Payload-Signature nor Orenda-Signature-Timestamp — but it still carries Orenda-Event-Id and still needs a decision. Classifying it as a notification webhook would leave the authorisation unanswered.

Redeliveries

If the card network does not receive a response in time, it retries the authorisation and we forward it to your endpoint again. You may receive the same authorisation multiple times. Return the same decision each time: if a repeat is declined after the original was approved, the original hold stays until the network confirms the outcome. Always deduplicate on event_id, which stays the same across retries. Orenda-Delivery-Id changes with each attempt and should not be used for deduplication.

Other requirements

  • HTTPS on a public hostname. Plain HTTP, IP addresses and internal hostnames are rejected before the call is made.
  • Redirects are not followed. A 3xx is no answer, and is declined — publish the final URL.
  • Keep the response small. A response over 64 KiB is no answer — we stop reading and decline. Answering {"decision":"approve"} followed by 65 KiB of rule context declines the card.
  • Be quick. You have 2 seconds, covering DNS, TLS, your processing and the response body. Aim for a p99 under 500 ms — the card network is waiting, and a slow answer risks the network deciding without you.