An intermediary payment is a payment your customer makes to you, on behalf of a recipient whom you then pay yourself. You quote the payout (for example 69750.00 PKR for 250.00 EUR), pay the recipient from your own funds abroad, and tell Orenda you have done so. Only then does Orenda release the customer’s euros to your receiving account. Orenda’s part, for every payment:
  1. hold the customer’s money once they authorise it;
  2. run transaction monitoring on the real recipient, the ultimate beneficiary (UBO);
  3. tell you by webhook that monitoring has passed;
  4. wait for your payout confirmation (text, a document, or both);
  5. only then release the money to one of your receiving accounts.
The customer sees the UBO as the recipient of their payment, with your company beside it. Nothing about intermediary payments is sent by email: you hear about every step through the INTERMEDIARY_PAYMENT_UPDATED webhook. The payment’s transaction webhooks are sent too, marked paymentChannel: "INTERMEDIARY": see transaction events.

Who does what

Your server can never authorise a payment. Nothing is held and nothing moves until the customer has approved it with their own factor.

Before you start

Orenda sets these up when your program is onboarded:
  • intermediary payments switched on for your program, with the customer authorisation methods your app will use (passkey, totp, or both);
  • banking limits on your program;
  • your server login, one for live and one for sandbox;
  • one beneficiaryId per receiving account: an ordinary EUR account in your company’s name, which every release pays. Several are allowed. Send the beneficiaryId on every create;
  • your webhook consumer URL and signing secret, per environment.
A create on a program that is not switched on, has no authorisation method, or is not on banking limits answers 501 with code not_available. So does a payment from an account that cannot make them: only the customer’s EUR accounts in Orenda’s EU banking are eligible.

The flow

Every call your server makes is under https://api.next.orenda.finance:

Calling the API

Your server calls as its server login: the service user Orenda issues for your program, one for live and one for sandbox. Get its token as described in Authentication and send the ID token as Authorization: Bearer <token>.
  • The environment comes from the token. The sandbox login’s ID token carries custom:sandbox: "true" and the live login’s "false". On these routes a server-login token whose custom:sandbox is anything else, or missing, is refused with 403. A sandbox query parameter does not switch a server login to sandbox.
  • programId is required. Add ?programId=<your program> to every call. Without it the answer is 400 VALIDATION_ERROR. A program outside your login’s scope answers 404, the same as a payment that does not exist.
  • Create, confirmation documents and confirm accept the server login only. A person holding the same role gets 403.
  • Customer routes are the customer’s. Authorise and decline refuse your server login with 403.
Your server login can create payments for any customer of your program; none of them moves money until that customer authorises it.

Creating a payment

Any other field, such as paymentChannel or scheduledDate, is refused as FIELD_NOT_ALLOWED. Scheduled and batch intermediary payments do not exist. The answer is 201 with the payment in AWAITING_AUTHORISATION and authorisationExpiresAt: the customer has your program’s authorisation window (30 minutes unless agreed otherwise) to approve it. Balance and limits are previewed here, so a payment that cannot go ahead is refused now: 422 INSUFFICIENT_FUNDS, or 422 LIMIT_EXCEEDED with data.breaches for a limit no review can lift. A limit compliance can review does not refuse the create: the customer can send the payment for review when they authorise. Both are checked for real at authorisation, and nothing is held before. An account can have only a few payments waiting for the customer at once (5 unless agreed otherwise). One more answers 429 TOO_MANY_PENDING_AUTHORISATIONS.

Idempotency

Idempotency-Key (a UUID) is required, and it names the payment: the payment’s id is derived from the key and the customer. Only the status code tells a replay from a create: the body has the same shape. A key never expires for create, so a retry hours later still finds the original payment. Retry a timeout or a 5xx with the same key and the same body.

The quote

The quote is yours, and Orenda stores it verbatim, with no maths:
  • each field must be a JSON string. A JSON number (279) is refused with QUOTE_FIELD_INVALID, because numbers lose precision in transit;
  • receivingCurrency is three upper-case letters; receivingAmount and fxRate are unsigned decimals such as 69750.00 and 279.00, up to 40 characters, with no spaces, signs or thousands separators;
  • all three are required (QUOTE_INCOMPLETE).
Orenda never checks that amount times fxRate equals receivingAmount, never rounds or reformats either value, and never converts anything. What you send is exactly what the customer sees and what is recorded on the transaction.

Who the payment pays

UBO_IS_INTERMEDIARY (422) means the UBO is one of your own receiving accounts, by IBAN or by name. PAYER_IS_INTERMEDIARY means the receiving account belongs to the paying customer. A UBO with the customer’s own name is allowed: a customer paying their own account abroad is normal.

Statuses

The webhook’s status follows this lifecycle. Every payment starts in AWAITING_AUTHORISATION and ends in one of the final statuses.
A rejection can come after TM_PASSED. Monitoring can reach a late decision while a payment waits for your confirmation, or after you confirm but before the release starts. The payment then moves to TM_REJECTED and is not released to you, even if you have already paid the recipient.
Statuses never move backwards, but not every payment passes through every one: a quick monitoring decision skips PENDING_TM, and a fast settlement can skip RELEASED. AUTHORISED and LIMIT_REVIEW can follow each other (a payment that passes a limit review goes LIMIT_REVIEW, then AUTHORISED), and RELEASED and RELEASE_DELAYED can alternate. After TM_REJECTED, the held money goes back to the customer in one of two ways. When compliance returns it, the status stays TM_REJECTED and no further webhook is sent: the state moves to TM_REJECTED_HOLD_RETURNED, which the get and list routes show. When Orenda’s operations team returns it, you receive RETURNED_TO_CUSTOMER, and the state is RESOLVED_RETURNED. Treat a status you do not recognise as “still in progress” and read the payment.

The state on the API

The get and list routes return a state, which is finer-grained than the webhook status. This is the status each value corresponds to: RELEASING sends no webhook of its own: the last status you received stays in force. A payment can also read RELEASE_DELAYED on the webhook while its state is still RELEASED. The payment’s sequence rises with every change, so no two webhooks of a payment share one. Use it to order what you hold; a gap between two webhooks is normal.

Confirming your payout

Once the payment is TM_PASSED, pay the recipient, then confirm with POST …/{paymentRequestId}/confirmation: text, a document, or both. The answer is 202 with state: "CONFIRMED", and the release follows. A document is uploaded first; the confirmation documents page has the whole sequence and the rules. A confirmation is accepted only while the payment is TM_PASSED (state AWAITING_CONFIRMATION). Before that, or after a cancel, it is 409 INTERMEDIARY_STATE_CONFLICT with data.currentState.
text, payoutReference and paidOutAt are shown to the customer. Keep other customers’ data and your internal notes out of them. The document itself is not shown to the customer.

Cancelling

A payment can be cancelled in back office, by one of your managers (PROGRAM_SUPER_ADMIN, scoped to your program) or by an Orenda super admin. Your server login cannot cancel (403), and customers cannot cancel: before they authorise they can decline instead. While monitoring is being submitted, for a few seconds after authorisation, cancel answers 409 TRY_AGAIN. Send it again shortly. The body is reasonCode (PAYOUT_FAILED, CUSTOMER_REQUEST, DUPLICATE, COMPLIANCE or OTHER), reason (10 to 500 characters) and optionally internalNote (up to 1000) and acknowledgePayoutRisk. reasonCode and reason are shown to the customer; internalNote is not. Idempotency-Key is required. The answer says whether money was held and has gone back (holdReleased).

What Orenda will and will not do

These rules are fixed. Plan your payouts around them. Once you have confirmed, the customer’s money is never returned automatically. If the release to you fails, or its outcome is unclear, the money stays held and the payment reads RELEASE_DELAYED while Orenda resolves it. Orenda either completes the release to you (COMPLETED), or, only after checking that nothing reached you, returns the money to the customer (RETURNED_TO_CUSTOMER). If Instant payments cannot reach your bank, the money is sent as an ordinary SEPA credit transfer instead, without a new status. Orenda never cancels a payment that is waiting for you. A TM_PASSED payment does not expire, and Orenda sends no reminders. The money stays held until you confirm or someone cancels in back office. Orenda’s operations team follows up on any payment still waiting after 7 days. To find yours, list them with ?state=AWAITING_CONFIRMATION. There is no refund or reversal. If you need to give a customer their money back after a payment is COMPLETED, for example because your payout to the recipient failed, send an ordinary SEPA credit to the customer’s account IBAN. It is treated like any money arriving: it can be charged the incoming payment fee, checked by monitoring, counted against the customer’s limits on money arriving, and held for review. A returned release is not sent again. If the payment to your receiving account comes back after COMPLETED, for example because the account was closed, the payment stays COMPLETED and you receive RELEASE_RETURNED. Orenda handles the returned funds and does not send the payment again.

Following up and reconciling

GET /v1/intermediary-payments?programId=<your program> lists your payments, newest first, for follow-up and reconciliation:
  • state: payments in one state, for example AWAITING_CONFIRMATION for every payment waiting for your confirmation;
  • month: payments created in that UTC month (YYYY-MM). With neither filter you get the current month;
  • limit (1 to 100, default 50) and cursor: send the previous page’s nextCursor until it is absent.
How the money reaches you. The release is a SEPA Instant payment to the receiving account the payment was created with, falling back to a SEPA credit transfer when Instant cannot reach your bank. Its remittance information is <clientReference> ORD <paymentRequestId> (just ORD <paymentRequestId> without a clientReference), and its end-to-end id is in completion.endToEndId once the payment is COMPLETED. When your receiving account is held with Orenda, the release can be an internal transfer instead (completion.rail is INTERNAL). A receiving account Orenda later disables does not affect payments already created: they still pay the account they were created with. Rebuild your view from this list or the get route after any outage of your own: the API is the source of truth, and webhooks can arrive late or out of order.

Errors

Every failure is { "success": false, "code", "message" }, with data where noted. Branch on code, never on message. Retry a 5xx or a timeout with the same Idempotency-Key and body.