OnLink

Changelog

What changed, and what counts as a breaking change.

API stability

We version the API in the path (/v1). Within a version:

Breaking changes — we will not make these without notice and a migration path:

  • removing or renaming a field, an endpoint or an error code;
  • changing the meaning or type of an existing field;
  • adding a required request field;
  • changing the signing algorithm or the string to sign;
  • removing an order status or a webhook event type.

Additive changes — we make these without notice, and your integration must tolerate them:

  • new optional request fields;
  • new response fields;
  • new webhook event types;
  • new endpoints;
  • new error codes.

Two obligations this puts on you

Ignore fields you do not recognise, and ignore webhook type values you do not recognise. A client that rejects an unknown field or event breaks on a change that is not supposed to break anything.

Changes are announced here and by email to your registered contact.

Changes

2026-11-20

  • Confirmation codes go to your webhook by default. A partner account now receives its money-movement confirmation codes as the signed confirmation.code_issued event on its webhook, instead of at the registered confirmation contact. Accounts that already had a webhook URL and signing secret saved were moved to webhook delivery when this took effect; accounts without one stay on contact delivery until they save a webhook and ask us to move them, so nobody loses the ability to confirm. If your account was moved, your confirmation contact no longer receives codes: they arrive on your webhook, so your integration can confirm unattended. If you would rather keep reading codes out at the contact, ask us to move your account back to contact delivery. An account that was not moved stays on contact delivery and changes in nothing.

  • New error CONFIRMATION_WEBHOOK_NOT_CONFIGURED (409). An account on webhook delivery with no usable webhook (no URL, a URL that no longer passes our checks, or no signing secret) is refused up front on every create that needs a code (transfers, batches, USDT sends, internal transfers, customer payouts) and on resend. Nothing is created, and the code is never sent to the confirmation contact instead. details.reason is no_webhook_url_configured, webhook_url_failed_validation or no_webhook_secret_configured: save a working webhook in the partner portal, then retry. This replaces CONFIRMATION_DELIVERY_UNAVAILABLE (503) for that cause; CONFIRMATION_DELIVERY_UNAVAILABLE now means only that we cannot push to webhooks from our side: a retry does not clear it, so contact OnLink support. Payments created in the portal, and accounts with confirmation waiving applied, are unaffected.

  • A new webhook event, customer.kyb.documents_requested, for remittance partners. When OnLink is reviewing one of your business customers and needs more documents, we send you the request: data carries customerId, requestId, message (the reviewer's request, written to you) and requestedAt. Pass on what message asks for and upload the documents with POST /v1/customers/{id}/kyb/documents. One event per request; a later request replaces an earlier one. See Webhooks. An additive change: an integration that ignores unknown event types needs nothing.

  • A customer that holds money tells you how to empty it. 409 CUSTOMER_HAS_BALANCE on DELETE /v1/customers/{id} (and the portal's Close) now says to move the money out first, with a payout (POST /v1/customers/{id}/transfers) or an internal transfer to your own account (POST /v1/internal-transfers, which carries no OnLink fee and can bring the balance to exactly zero), then close again; contact us only for money you cannot move. The code and details.currencies are unchanged.

  • A frozen account is named before anything in motion, and a close sees movements that finished while it ran. 409 CUSTOMER_ACCOUNT_FROZEN now comes before CUSTOMER_HAS_MOVEMENTS_IN_FLIGHT and the balance check (it needs us whatever is moving). CUSTOMER_HAS_MOVEMENTS_IN_FLIGHT is also returned for a transfer, payout, conversion or fee of the customer that started and finished while the close was running, and its message now says a SWIFT or RTGS payout can take several days and to contact us if anything else is still in flight after an hour. See Errors for the full order.

  • A Remittance partner's inbound fee is now charged on a customer's deposit. When the partner terms for a currency carry an inbound schedule, a deposit into the customer's dedicated bank details is followed by a separate transfer of your fee, worked out on the deposit's net (rounded up, capped, never more than the net), from the customer's account to yours, in the deposit's own currency. A deposit credited before the schedule was set is never charged. fees.partner on the deposit in the customer's transactions now shows it. No new field, route or event. See Fees on deposits.

  • A Remittance partner can read its customers' transactions. GET /v1/customers/{id}/transactions and GET /v1/transactions list the internal transfers, payouts, conversions and deposits of one customer or of all of them in one newest-first list, 50 to a page, with type, status, from and to filters (a date without a time is a day in East Africa Time) and an opaque cursor. Each row carries its amount, its currency (a GBP deposit is listed in GBP), fees.onlink and fees.partner, a direction relative to the customer, a counterparty, and the customer's customerName (its display name), so you need no lookup per row. They need customer_transfers:read and are limited to 60 calls a minute. One new error code, DATE_RANGE_INVERTED (400: from is later than to); a malformed cursor is 400 INVALID_CURSOR, and one that names no row of yours returns an empty page. See Read your customers' transactions.

  • Closing a customer now waits for the money it has in motion. DELETE /v1/customers/{id} (and the portal's Close) is refused 409 CUSTOMER_HAS_MOVEMENTS_IN_FLIGHT while an internal transfer, a payout, a conversion or a partner fee of that customer has not finished, even if every balance reads zero. details counts each kind (internalTransfers, payouts, conversions, feeLegs), never ids; wait for them to finish and close again. It comes after the deposit refusals and before the balance check. A movement created at the very moment a close commits is refused 409 CUSTOMER_NOT_ACTIVE instead of slipping in behind it. See Manage your customers.

  • A Remittance partner can pay out of a customer's account. POST /v1/customers/{id}/transfers sends a customer's money to a bank account or mobile wallet over the same rails as POST /v1/transfers, and GET /v1/customers/{id}/transfers/{transferId} reads it back. The body is the body of POST /v1/transfers plus an optional partnerFee, your own fee, paid from the customer's account to yours after the payout settles. It is confirmed with a one-time code like any payout, and its amount and fees are reserved on the customer's account until it ends. GBP and EUR are now payout currencies, over swift only, on POST /v1/transfers as well (a GBP or EUR amount used to be refused as an unknown currency). A GBP or EUR payout counts against your ceilings at its KES equivalent, at the market mid-rate of its own pair rounded up, and needs nothing set on your account; while that rate cannot be read it is refused 503 TRANSFER_DAILY_CAP_RATE_UNAVAILABLE and nothing is created; retry later, and contact support if it persists. One new webhook event, customer.transfer.updated, announces how a customer payout ended (settled or failed); a customer payout never produces transfer.settled or transfer.failed, and the money a failed payout returns to the customer is never announced as a customer.deposit.received. Customer payouts use the same scopes as internal transfers, customer_transfers:write and customer_transfers:read. TRANSFER_NOT_FOUND, CUSTOMER_NOT_ACTIVE and the partner fee codes are returned as before; a payout you confirmed ends failed with failureCode CUSTOMER_NOT_ACTIVE if the customer was suspended or closed before it was sent. A single transfer, an internal transfer and a customer payout from one account are now checked against the balance less what the others reserve; a batch (POST /v1/transfers/batch) is not checked against reservations, only against the balance. A request to POST /v1/transfers or to a customer payout with no destination or no amount is now 400; it used to be 500. See Pay out from a customer account.

  • A EUR account can have its own euro bank details. When the customer is approved for them, opening the EUR account (or posting again) also issues an IBAN and a BIC in depositDetails (scheme sepa), and namedAccount now reads for EUR as it does for USD: the status and rails ["sepa"] when it is set up, or unavailable with a reason (ENDORSEMENT_MISSING, ENDORSEMENT_PENDING, TEMPORARILY_UNAVAILABLE, UNAVAILABLE) when it is not. reason.code has one new value, EUR_DETAILS_UNAVAILABLE: the euro bank details could not be issued and that attempt was closed, so post { "currency": "EUR" } again (retryable is true). The call never fails because of it. A payment to a EUR account's euro bank details is not credited yet: OnLink holds it and returns it to the payer or settles it by hand, and you receive no customer.deposit.received for it. Until OnLink tells you otherwise, send a EUR payer to the local_bank route in depositRoutes, which is credited and announced. Additive: a client that rejects an unknown reason.code must accept the new one. See A EUR account's euro bank details.

  • A verified customer can become suspended with the new reason provider_declined. When the bank we open your customers' accounts with stops serving a customer you had verified, that customer is suspended: kyc.status is suspended, kyc.reason is provider_declined and kyc.nextAction reads "Account services for this customer have been stopped. Contact support." One customer.kyc.updated announces it, with previousStatus: verified. Money stops for that customer (CUSTOMER_NOT_ACTIVE on a transfer) and a deposit to it is held. It stays suspended until we decide otherwise, even if the customer is approved again: contact us. reason has a new value (provider_declined), so a client that rejects an unknown reason must accept it.

  • A Remittance partner can move money between its own account and its customers. POST /v1/internal-transfers moves one currency (KES, USD, GBP or EUR, nothing converted) from your account to a customer, from a customer to you, or from one customer to another, and GET /v1/internal-transfers/{id} reads it back. It is instructed, then confirmed with a one-time code on POST /v1/confirmations/{id}, like a bank transfer; it is 202 awaiting_confirmation until then and moves nothing, and it ends completed, failed (with a failureCode) or expired. OnLink charges nothing on it; you may attach your own partnerFee, paid from the sending customer's account to yours after it completes. Two new scopes, customer_transfers:write and customer_transfers:read, gate the routes: a key issued before today needs a new key that carries them. Two new webhook events, internal_transfer.completed and internal_transfer.failed, announce how it ended (an expiry is announced by confirmation.expired). The confirmation response's status can now also be an internal transfer status, and a confirmation subjectType can be internal_transfer. New error codes: ACCOUNT_NOT_READY, CUSTOMER_NOT_ACTIVE, MONEY_MODE_MISMATCH, PARTNER_FEE_ACCOUNT_UNAVAILABLE, PARTNER_FEE_NOT_APPLICABLE, INTERNAL_TRANSFER_SAME_ACCOUNT, INTERNAL_TRANSFER_INSUFFICIENT_BALANCE, INTERNAL_TRANSFER_NOT_FOUND and INTERNAL_TRANSFER_NOT_CONFIRMABLE. A payment that OnLink itself moves onto a customer's account for an internal transfer, or between two accounts of the same customer, is never announced as a customer.deposit.received. See Move money between your customers.

2026-11-18

  • A customer can be opened a GBP or EUR account. POST /v1/customers/{id}/accounts now accepts "currency": "GBP" and "currency": "EUR" (it still answers 422 CUSTOMER_ACCOUNT_CURRENCY_UNSUPPORTED for any other currency, and details.supported now lists KES, USD, GBP and EUR). A USD, GBP or EUR account is paid into from outside the way a retail account is: once it is active, accountNumber is its own number in every currency, and depositRoutes lists how to send. A local_bank route (a bank inside Kenya, RTGS in the account's currency, addressed to the account's own number) for USD, GBP and EUR, and an international_bank route (a transfer from abroad, which must quote the account number as the payment reference) for USD and GBP. EUR has no international route yet, and depositRoutesNote says so (International transfers in EUR are not available yet.). A transfer from outside is announced with customer.deposit.received in the currency it arrived in, with rail local_transfer or international_transfer; money OnLink itself moves onto the account is never announced as a deposit. A new error code, 503 CUSTOMER_ACCOUNT_CURRENCY_DISABLED, means a GBP or EUR account cannot be opened yet, and it answers every POST for one, a repeat for an existing account included (read it with GET): nothing you can change, so retry after OnLink enables that currency in this environment (GBP and EUR are enabled separately). Every account in the response (and each row of GET /v1/customers/{id}/accounts, now ordered KES, USD, GBP, EUR) gains three fields, depositDetails, depositRoutes and depositRoutesNote; a USD account with bank details also shows them in depositDetails (scheme us_bank) beside the unchanged namedAccount. Additive: ignore the new fields and code if you do not open GBP or EUR accounts. See Open accounts for your customers.
  • Closing a customer now closes its accounts, and refuses while money is in them. DELETE /v1/customers/{id} (and Close in the portal) used to be a status change only; for a customer that holds accounts it now closes the accounts with the customer and the customer's US bank details are switched off. It is refused, with nothing closed, while an account holds money (409 CUSTOMER_HAS_BALANCE, details.currencies; a customer cannot be closed while any balance remains, so contact us to arrange returning it), a deposit is still being credited (409 CUSTOMER_DEPOSITS_IN_FLIGHT), deposits are under review (409 CUSTOMER_HAS_HELD_DEPOSITS), an account is frozen or dormant (409 CUSTOMER_ACCOUNT_FROZEN, details.currencies and details.state; contact us, retrying does not clear it) or an account is still being opened (409 CUSTOMER_ACCOUNT_OPENING). A balance that cannot be read is never treated as empty (503 CUSTOMER_BALANCE_UNAVAILABLE), and 503 CUSTOMER_ACCOUNT_CLOSE_UNCONFIRMED means the US bank details could not be confirmed switched off: repeat the close. A close refused after the switch-off (a deposit arrived in the meantime) leaves the customer open with its US bank details possibly already off; repeat the close once the refusal is resolved. A customer with no accounts closes exactly as before. Additive for those who never open accounts; a close that used to succeed on a funded customer is now refused. See Manage your customers.
  • New endpoints: open and read a customer's accounts. POST /v1/customers/{id}/accounts opens a verified customer a KES or USD account (201 when it opened one, 200 when it already existed, so posting again is safe), and GET /v1/customers/{id}/accounts lists them with their numbers and balances. A KES account carries its payment instructions. A USD account also gets the customer's own US bank details when the customer is approved for them; when not, it still opens and namedAccount.reason says why. New error codes: CUSTOMER_ACCOUNTS_DISABLED, CUSTOMER_ACCOUNT_CURRENCY_UNSUPPORTED, CUSTOMER_NOT_VERIFIED and CUSTOMER_ACCOUNT_UNAVAILABLE. They need two new scopes, customer_accounts:read and customer_accounts:write, which only a Remittance key can hold; the customers:* scopes do not open or read an account, so a key issued before these scopes existed is refused 403 insufficient_scope until you issue a new one. Additive. See Open accounts for your customers.
  • New webhook event: customer.account.updated. It fires once for each account of a customer's that finishes opening: status active when it is ready to use, or failed with a reason code when it could not be opened, together with the customerId, the currency and the component it is about. It carries no account number or other bank detail. It is additive: ignore it if you do not open accounts for customers. See Webhooks.
  • New webhook events: customer.deposit.received and customer.deposit.held. A payment into a customer's account now tells you. customer.deposit.received fires when it was credited to the customer's balance, with gross, fee, net (reconcile against net), the rail, the payerName and when it arrived and was credited; a KES payment uses the same event. customer.deposit.held fires once when a payment is held for review instead (the customer is suspended or closed, your partner account is suspended, or the account is closed) and says which in heldReason; nothing is credited until we release it. Additive: ignore them if you do not take payments for customers. See Webhooks.
  • The hosted page now verifies a business customer. POST /v1/customers/{id}/kyc-link for a customer of type business opens a page for the company's representative: the business terms, the company's registration details, its documents, its directors and their invitations, and the hand-in. Each director opens their own link to verify and to give their own home address. The page carries your brand. See Manage your customers.
  • A business still in review can be sent a fresh link. POST /v1/customers/{id}/kyc-link now also answers 201 for a business customer at kyc_in_review whose reason is not finalising (it is waiting on documents or directors), so its representative can finish after the first 24-hour link has expired. The link opens the step still owed. An individual at kyc_in_review, and a business that is finalising, are still 409 CUSTOMER_KYC_NOT_OPEN.
  • customer.kyc.updated can arrive after verified. A currency becoming usable, or stopping being, for a verified customer is an event with status and previousStatus the same, and status can now be suspended. Do not treat verified as the last event. See Webhooks.
  • New error code: CUSTOMER_UPDATE_CONFLICT. PATCH /v1/customers/{id} answers 409 when the customer changed again while your change was being applied, so nothing was changed. Read the customer, and send the change again if it still applies. See Errors.
  • Verify an individual customer by API. Three new calls on a Remittance credential: POST /v1/customers/{id}/kyc (customers:write; multipart: the details, the ID images and a selfie), GET /v1/customers/{id}/kyc (customers:read) and POST /v1/customers/{id}/kyc/terms-link (customers:write). The submit answers 202 with customerId, kyc, termsUrl and termsUrlExpiresAt. termsUrl is the page where the customer accepts the account terms; it is null when the customer accepted them earlier, or, with kyc.termsAccepted false, when the link could not be issued this time. The submission still stands in that case: call POST …/kyc/terms-link for the link. A customer in a country we cannot open accounts in is refused when you create or change it, with 422 CUSTOMER_RESIDENCE_NOT_SUPPORTED. A customer who lives in Kenya or the US must give a taxId. New error codes carry errorCode: KYC_DOCUMENTS_INCOMPLETE, KYC_DOCUMENT_INVALID_TYPE, KYC_DOCUMENT_TOO_LARGE, KYC_PROVIDER_UNAVAILABLE, CUSTOMER_TERMS_ALREADY_ACCEPTED and CUSTOMER_NOT_INDIVIDUAL. See Manage your customers and Errors.
  • Multipart calls are signed over a body digest. POST …/kyc and POST …/kyb/documents carry a file, so you sign the sha256 of the exact body bytes as the body hash and send the same lowercase hex in an X-Body-SHA256 header. A call without it, with a malformed one, or with a body that does not hash to it is refused 401 with body_digest_missing, body_digest_malformed or body_digest_mismatch. Every other call signs as before. See Authentication.
  • GET /v1/customers/{id}/kyb now says what is still missing. New field missingDetails: the company facts the account still lacks, named as you send them in PATCH …/kyb/details (for example businessType, physicalAddress.postalCode), and a director's own home address as directors[<directorId>].residentialAddress. Each director also carries residentialAddressProvided (a boolean) and ownershipPercentage (what you sent in owners). A director who has verified but not yet given their home address can be invited again once their first link has expired; the new link opens only that step. The US Social Security number refusal now reads "Use only the 9 digits of the Social Security number, for example 123456789".
  • A business customer's company details can now be sent, so its accounts can be opened. New call PATCH /v1/customers/{id}/kyb/details (customers:write, on a Remittance credential) takes the company's businessType, businessIndustry (a 4-digit NAICS code), physicalAddress (structured, in the customer's country of residence, never a PO box), incorporationDate, companyTaxId (a Kenyan company's KRA PIN when the registry has none; a US company's EIN) and, optionally, owners. Each director gives their own home address on their invitation page, not through this call. A customer waiting at needs_info with business_details_incomplete moves on by itself, to kyc_in_review with reason finalising, when the last missing fact is in: there is nothing to submit. New error code KYB_DETAILS_LOCKED (409): the details cannot change while the account is being created. A broken field inside an object or list is now named by its path in details.fields (for example physicalAddress.postalCode), and the business_details_incomplete nextAction no longer says to resubmit. See Manage your customers and Errors.
  • Business verification: a decided application stays closed, and a refused body names its fields. POST /v1/customers/{id}/kyb never opens a second application: once the application is verified or rejected, a start (and any document, invitation or submission) is 409 KYB_APPLICATION_CLOSED, and the customer's status is brought in line with the decision first. A start that arrives while another start is still applying the company details answers the application as it stands, and does not look the company up again. A body that fails validation on the …/kyb calls is now 400 VALIDATION_FAILED with every broken field in details.fields, instead of Validation failed on: <field>. We record which API key started each application. See Manage your customers and Errors.
  • A verified business customer is now opened from its company and director details. After the application is verified and the terms are accepted, the customer moves to needs_info when a company or director detail is missing or refused, with reason business_details_incomplete, data_mismatch, document_unreadable, resubmission_requested or document_unsupported. No new field, route or error code. See Manage your customers.
  • business_documents_required now says what is actually owed. The reason appears for every business a reviewer is checking, not only one short of a document, so its nextAction no longer says "Upload the required company documents to continue". It now says that a reviewer is checking the company; that only a company registered outside Kenya must send its certificate of incorporation (it is listed in missingDocuments until uploaded); and that every other company document is optional, to be asked for if a reviewer needs it. The reason code, the status and missingDocuments are unchanged, and nothing was ever refused for a missing document. The hosted page says the same. See Manage your customers.
  • Starting a business customer's verification by API carries the customer's consent. POST /v1/customers/{id}/kyb takes a required consent object: consentVersion (the current business terms version, 2026-07-business-kyb-v1), customerConsentedAt (an ISO 8601 time with a zone, not in the future and not older than 30 days) and partnerAttestation: true, your attestation that the customer consented to the business terms under your partner agreement. Send it on every call, a repeat included. We store it on the application, marked as attested, beside the key that made the call. A missing or invalid consent is 400 VALIDATION_FAILED, with details.fields naming consent, consent.consentVersion, consent.customerConsentedAt or consent.partnerAttestation. This call is new in this release, so no integration is broken. See Manage your customers and Errors.
  • Verify a business customer by API. Five new calls take a business customer through verification: POST /v1/customers/{id}/kyb (opens the application and records the company), POST /v1/customers/{id}/kyb/documents (multipart), POST /v1/customers/{id}/kyb/directors/{directorId}/invite (asks us to email a director a link to verify their own identity; the email is sent in your name and brand, and a repeat invitation sends a fresh link), POST /v1/customers/{id}/kyb/submit and GET /v1/customers/{id}/kyb. The writes need customers:write and the read customers:read, on a Remittance credential. The customer's status follows the application, and each change arrives in customer.kyc.updated, with the new reasons directors_pending, business_documents_required and business_rejected. New error codes carry errorCode: CUSTOMER_NOT_BUSINESS and the KYB_* codes. See Manage your customers and Errors.
  • The hosted verification page now follows your brand and has fixed rules for dead links. The page opened by POST /v1/customers/{id}/kyc-link shows your name, your colour (only a six-digit hex #RRGGBB, otherwise a neutral band), your logo (only an https image, otherwise your initials; logos cannot be set yet, so today it is always initials) and your support address. Every link that no longer opens, for any reason, shows the same "This link is no longer valid" screen, and a link allows a limited number of attempts a minute (past it, "Too many attempts" and a Retry-After). It adds no endpoint and no field. See Manage your customers.

2026-11-17

  • Customers, for Remittance accounts. Five new calls manage the people and businesses you move money for: POST /v1/customers, GET /v1/customers (searchable by q, with status, externalRef, cursor and limit), GET /v1/customers/{id}, PATCH /v1/customers/{id} and DELETE /v1/customers/{id}, which closes the customer and returns it. They need two new scopes, customers:write and customers:read, which only a Remittance credential can hold; any other product is refused with product_not_supported. customer.created and customer.updated are sent to your webhook. A body carrying a field a call does not take is refused with 400 UNKNOWN_BODY_FIELD. See Manage your customers.
  • GET /v1/balances on a Remittance credential returns usd as well as kes, as it does on a Collections credential.
  • New webhook event: customer.kyc.updated. It fires each time a customer's identity check changes state, with the new status, the previousStatus, a reason and the nextAction to take, whether the customer has accepted the account terms, and the state of each currency account. It is additive: ignore it if you do not onboard customers. See Webhooks.
  • New endpoint: POST /v1/customers/{id}/kyc-link. Returns the page your customer opens to verify their identity, as { url, expiresAt, purpose }. The URL is shown once, works once and expires after 24 hours; issuing another link replaces the first. It needs a Remittance credential holding the customers:write scope. Refusals carry errorCode: REMITTANCE_DISABLED, KYC_WIDGET_DISABLED, CUSTOMER_NOT_FOUND and CUSTOMER_KYC_NOT_OPEN. See Errors and Products and scopes.

2026-11-12

  • New event: deposit.received. When OnLink has set up a USD account of your own for you, a payment into it is announced as deposit.received, once per deposit, when it is credited — net of the collections fee — to your USD balance. Its data carries depositId, reference, gross, fee, net, currency, paymentRail, senderName, payerMessage, bankTransactionId and treasuryCreditTxId. payerMessage is the payer's own text and is null when they wrote none. paymentRail is one of ach_push, fednow or wire, or null. bankTransactionId is the wire's bank reference: set for a wire and null for ACH and FedNow. A payment that arrives, or is still waiting to be credited, while your account is suspended or closed is held for review by OnLink and is announced only if it is released. collection.received is unchanged and still announces a collection you opened. If your webhook handler rejects event types it does not recognise, add this one. See Webhooks and Balances.

2026-11-02

  • A USDT send's destination is checked when you create the send. POST /v1/usdt/sends can now answer 409 with USDT_SEND_DESTINATION_BLOCKED (this destination cannot be used; contact us) or 503 with USDT_SEND_DESTINATION_SCREENING_UNAVAILABLE (we could not check it just now; retry the same request shortly). Neither creates a send. A send that fails because its destination can no longer be used reads failureReason: "DESTINATION_BLOCKED". See Send USDT from your wallet.
  • A withdrawal wallet's screeningStatus reads pending or clear. On POST /v1/wallets, GET /v1/wallets and POST /v1/wallets/{id}/confirm, screeningStatus now takes only those two values. A wallet you register starts pending while it is checked. A wallet that stays pending cannot be approved: contact us and we will look at it with you.
  • An approved wallet may show pending while it is re-checked. A wallet you registered and we approved earlier can read screeningStatus: "pending" on GET /v1/wallets while we check it again. Sends to it are refused with 503 USDT_SEND_DESTINATION_SCREENING_UNAVAILABLE until the check completes, and a send you confirmed before that fails with failureReason: "DESTINATION_SCREENING_UNAVAILABLE" (nothing was debited or sent; create the send again later). Contact us if a wallet stays pending.

2026-10-30

  • Your payout accounts are your own OnLink KES accounts. GET /v1/payout-accounts now lists your OnLink KES account(s), each by its account id, and a sell's payoutAccountId is one of those ids. An id you stored before this change keeps working only if it points at one of your own OnLink KES accounts and carries no bank code; any other stored id (for example one with a bank code) is now refused 409 PAYOUT_ACCOUNT_NOT_PAYABLE when you create the sell. Migration step: read GET /v1/payout-accounts again and use an id from it. See the error catalogue.
  • Confirming a wallet that is already confirmed, or revoked, now says so. POST /v1/wallets/{id}/confirm on a wallet whose confirmation was already recorded answers 409 WALLET_ALREADY_CONFIRMED, and on a revoked wallet 409 WALLET_REVOKED. Both carry details.status and details.nextStep. Before, both answered 403. If you match on the status code, treat these two 409s as "nothing more to do" and read GET /v1/wallets for the status. An expired, cancelled or used-up code, and an id that is not one of your wallets, still answer 403. See the error catalogue.
  • Read your USDT balance. A USDT Rails account can now call GET /v1/usdt/balance (scope usdt:read) for the USDT it can use now, with custody (onlink_managed or partner_customer), source (ledger or chain) and asOf. When your wallet cannot be read, available is null and unavailableReason is holding_wallet_not_allocated or provider_unavailable; it is never reported as 0. A Collections credential is refused with 403. See Your USDT balance.
  • Read where your USDT is held. A USDT Rails account can now call GET /v1/usdt/holding-wallet (scope usdt:read) for its holding wallet: the custody, the address in full, and a receives sentence saying what USDT sent there does. It is not one of the withdrawal wallets of /v1/wallets. With no address allocated yet it answers 503 with errorCode HOLDING_WALLET_NOT_ALLOCATED. A Collections credential is refused with 403. See Where your USDT is held.
  • GET /v1/funding says what a USDT deposit does for your custody. The USDT instructions used to say a deposit is credited to your balance for every account. For an account that holds its USDT in its own wallet they now say the USDT stays in that wallet, where your sells and sends draw from it, and is not credited to any OnLink balance. The address, chain, asset and memo are unchanged.

2026-10-28

  • Simulated orders read simulated. In sandbox, GET /v1/orders/{id} now answers X-OnLink-Money-Mode: simulated for an order that ran on simulated money, such as a buy paid from a simulated KES balance, even when no simulation route was called for it. Treat it as test data. An order a simulation was run on still reads simulated, and production is unchanged: every read there answers live. See Telling simulated money from live.

2026-10-24

  • Pay out USD from your USD account. For a Collections account, POST /v1/transfers and POST /v1/transfers/batch now accept amount.currency "USD" on rtgs, eft and swift: the money leaves your USD account, in USD, to a USD account, with nothing converted. amount and fee on responses and on transfer.settled / transfer.failed carry "currency": "USD". A USD transfer counts against your KES caps at its KES equivalent at the mid-rate. Three new codes: TRANSFER_RAIL_CURRENCY_UNSUPPORTED (USD on mpesa, pesalink or internal, or a USD SWIFT payout to an account in another currency), BATCH_CURRENCY_MIXED (a batch whose items send more than one currency) and TRANSFER_CURRENCY_NOT_ENABLED (USD from a USDT Rails account, which sends KES only). The cap check for a USD transfer needs a live mid-rate; with none, the create is refused with the existing 503 TRANSFER_DAILY_CAP_RATE_UNAVAILABLE. KES transfers are unchanged. In sandbox, a USD payout is paid from your simulated USD balance. See Paying out USD.
  • Sandbox payouts run on test money. In sandbox, POST /v1/transfers and POST /v1/transfers/batch are now paid from your simulated KES balance (the figure GET /v1/balances reports) and settle by themselves with transfer.settled, or end failed with transfer.failed, after you confirm them as in production (or at once, if confirmation is waived for your account). The beneficiary name is not checked in sandbox: sandbox transfers read nameVerification: "unavailable". If real money is switched on for your account, transfers created after the switch move real money. Production is unchanged, and no request or response field changed. See Testing in sandbox: Payouts.
  • Convert USD to KES. A Collections account can now convert the USD in its USD account into KES in its KES account: GET /v1/conversions/quote for an indicative rate, POST /v1/conversions to convert (202, no confirmation code), and GET /v1/conversions/{id} to read it back. Two new webhooks, conversion.settled and conversion.failed, report the result; a failed conversion pays no KES and returns any USD it took. The scopes conversions:read and conversions:write now have routes behind them. New error codes are listed under Errors — Conversions. See Convert USD to KES. In sandbox, a conversion runs on your simulated USD and KES balances. See Testing in sandbox: Conversions.
  • Your USD balance on GET /v1/balances. A Collections credential's response now carries usd beside kes: the USD account collections are paid into, and that conversions and USD payouts draw on. When that account cannot be read, usd.available is null and usd.unavailableReason names why (PARTNER_VA_NOT_ALLOCATED, PARTNER_VA_ACTIVATING or PARTNER_VA_SUSPENDED); it is never shown as 0, and your KES figure is still returned. A USDT Rails credential's response is unchanged. See Balances.

2026-10-22

  • Confirmation can be waived for your account. On request, OnLink can enable confirmation waiving for a partner account. Once it is on, a create on POST /v1/transfers, POST /v1/transfers/batch or POST /v1/usdt/sends can return status: "confirmed" with no confirmation object and starts executing straight away, instead of awaiting_confirmation with a code to post back. Integrations must handle both on create. In production, waiving applies only to a request made with an API key that has an IP allowlist. A waived account whose key has none is asked for a code as before, and the confirmation block gains waiverNotApplied: "key_without_ip_allowlist" on the first response only; ask us to add an IP allowlist to that key. If the account also has no confirmation contact or working webhook, the create is refused 503 CONFIRMATION_CONTACT_MISSING or CONFIRMATION_DELIVERY_UNAVAILABLE and that 503 carries details.waiverNotApplied: "key_without_ip_allowlist". Accounts that have not asked for it see no change, and wallet registration codes are not affected. See When confirmation is waived.

2026-10-15

  • Sandbox money is simulated. In sandbox, GET /v1/balances reports a simulated KES figure and the KES for a buy order is debited from it. The credit a collection pays into your account is always simulated. Real money can be switched on for your account on request, for orders only. A flow keeps the mode it started in. Transfers, batch transfers and M-PESA funding requests are not simulated yet and use the real sandbox account, so an outside payment or an M-PESA funding request does not change the simulated figure. Production is unchanged, and no request or response field changed. See Simulated money in sandbox.

2026-10-14

  • A sell paid from your own wallet whose USDT collection has an unknown outcome is held, not rejected. When we cannot confirm whether the USDT left your wallet (a timeout, a dropped connection, an unreadable answer), the create returns 503 USDT_COLLECTION_OUTCOME_UNKNOWN and the order moves to review. It sends no webhook, and we reconcile it with the provider. Do not create another order or resend USDT. USDT_COLLECTION_FAILED now always means nothing was collected, and the order is rejected with one order.rejected webhook. See Errors and the sell guide.
  • A USDT send from your own wallet whose outcome we cannot confirm stays processing, not failed. When we start the transfer and then cannot tell whether the USDT left your wallet (a timeout, a dropped connection, an unreadable answer), the send is no longer failed with USDT_RAIL_AMBIGUOUS and no usdt_send.failed is sent. It ends settled, or failed once the rail reports a failure itself, or once we resolve it with you. Do not instruct another send. A refusal or a request that never left still fails the send straight away. See the send guide.
  • A sell that has been debited from your USDT balance, or whose collection we recorded, is no longer expired. Such an order stays awaiting_usdt until we advance it or resolve it, instead of expiring after 24 hours while your USDT had already been taken. A sell whose debit never posted still expires with the rest. See Caps and limits.
  • A sell paid from your own wallet now proceeds like any other sell once its collection settles. Before, the settled collection was not matched to your order, so it stayed awaiting_usdt with the USDT already collected. Now the order moves to usdt_received, order.funds_confirmed is sent, and it then proceeds as a sell funded by a deposit to your deposit address does. Nothing is sent twice if the settlement notice is delivered again.

2026-10-13

  • A buy to your own wallet that cannot be delivered is refused up front. The 5 USDT minimum and the 2 decimal place limit are on-chain limits, so they apply only to buys whose USDT is delivered to your own wallet. For those, the quote and POST /v1/orders/buy check the USDT amount before the quote is consumed or your KES is debited: under 5 USDT is 422 USDT_SEND_BELOW_MINIMUM, and a usdtAmount with more than 2 decimal places is 422 USDT_SEND_AMOUNT_PRECISION (the codes a USDT send already returns). Before, such an order was debited and then stopped in review. A quote named by kesAmount now rounds its usdtAmount down to 2 decimal places, by less than 0.01 USDT; kesAmount stays as you named it. A buy credited to your managed USDT balance (the default) is unchanged: any size and precision is accepted. See Caps and limits.
  • A sell order with an insufficient USDT balance is now rejected. When the balance debit finds too little USDT, the order moves to rejected, one order.rejected webhook is sent, and the create returns 422 INSUFFICIENT_USDT_BALANCE. Before, the 422 came back but the order stayed awaiting_usdt and no webhook followed. Four ledger codes that a failed balance debit can return are now listed in Errors.
  • Collections are paid into your USD account. A deposit attributed to a collection now has its net amount (gross less fee) paid into your USD account. A collection's status gains one new value, crediting, shown while that payout is in flight; it moves on to credited (already a published value) once the payout has settled. If you switch on status exhaustively, add crediting. If a payout did not go through the collection returns to received and the payout is retried.
  • collection.received is now sent, once per collection, when it becomes credited. Its data carries collectionId, reference, gross, fee, net, currency, senderName and treasuryCreditTxId. See Webhooks and Open a collection. Converting USD to KES and reading a USD balance are not available today.

2026-10-12

  • Confirmation codes can be pushed to your webhook. A new event, confirmation.code_issued, carries the 6-digit code for a transfer, USDT send or batch you created. We send it only to accounts OnLink has switched to receive codes by webhook; every other account keeps receiving codes at its registered confirmation contact, and sees no change. The event is signed like every other delivery. It is never stored and never redelivered: we try up to three times, all over within about 35 seconds and each with a 5-second timeout, and then stop. If it does not reach you, call POST /v1/confirmations/{id}/resend for a new code. See Auto-confirm instructions and Webhooks.
  • The channel on a confirmation block gains webhook. It was email or sms. On the webhook channel deliveredTo is the host of your webhook URL, never the full URL. If you switch on channel exhaustively, add the new value.
  • New webhookDelivery on the confirmation block, on the webhook channel only. It reads { status, attempts, lastAttemptAt }, with status one of pending, delivered or failed. It is absent on email and sms. The resend response carries it too.
  • New error CONFIRMATION_DELIVERY_UNAVAILABLE (503). An account switched to webhook delivery that has no working webhook cannot create an instruction. Nothing is created. See Errors.

2026-09-29

  • Breaking: error codes renamed. KILL_SWITCH_ENGAGED is now MONEY_MOVEMENT_PAUSED, BRIDGE_NOT_CONFIGURED is now USDT_RAIL_NOT_CONFIGURED, and BRIDGE_UNAVAILABLE is now COLLECTIONS_RAIL_UNAVAILABLE. A USDT send's failureReason that began BRIDGE_ now begins USDT_RAIL_ instead, for example USDT_RAIL_RETURNED. A transfer or send stored before this change keeps its old failureCode or failureReason on every read, so accept both spellings while you migrate. The full, current catalogue is on Errors.
  • The buy leg sends order.funds_confirmed. It is sent once, when the bank confirms the KES debit for the order, with data.status normally funds_reserved. It is the same event a sell order sends when its USDT lands. See Buy USDT with KES.
  • kesDebit.status gains reversal_pending and reversed. A buy order rejected after the bank confirmed its debit now reads reversal_pending (your KES was taken and is owed back) and reversed once it has been returned; failed now means only that we hold no record your KES was taken. If you switch on kesDebit.status exhaustively, add both values. See Your KES debit.
  • KES taken for a rejected buy is returned. If we reject a buy after the bank confirmed its KES debit, we return the full amount debited — kesTotalAmount, the principal plus the fee — to your KES balance, and kesDebit.status moves from reversal_pending to reversed. There is no order webhook for the return; read the order with GET /v1/orders/{id}. See Your KES debit.

2026-09-24

  • Collections. POST /v1/collections opens a collection — a reference we mint and a set of US deposit details for a contributor paying by ACH, FedNow or wire. GET /v1/collections/{id} and GET /v1/collections read them back. New scopes collections:read and collections:write. Crediting deposits and converting them to shillings are Planned. See Open a collection.
  • Products. Each partner account is set up for one product — the USDT rails or collections — and its credentials can only carry that product's scopes. A route of the other product answers 403 with error: "product_not_supported". The KES balance, funding, transfers and confirmations are available to both. See Products and scopes.

2026-09-23

  • One daily cap, shared. The rolling 24-hour cap now counts your orders, your transfers and your USDT sends together. A buy counts its principal plus the fee; a USDT send counts its KES equivalent at the time of the check. See Caps and limits.

2026-09-21

  • Breaking: the buy leg is paid from your KES balance. POST /v1/orders/buy no longer takes paymentRail or walletId, and its response no longer carries paymentInstructions or paymentReference: the KES is debited from your own KES balance when the order is created, so there is no payment to make and nothing to attribute. The order starts at funds_reserved, and the response carries kesDebit. A balance that does not cover kesTotalAmount is refused with INSUFFICIENT_KES_BALANCE. See Buy USDT with KES.
  • Sell orders are paid from your USDT balance. There is no longer a USDT deposit to send per order or a transaction hash to attach: the USDT is taken from your balance when the order is created. Your deposit address now tops up that balance. See Sell USDT, receive KES.
  • USDT sends. POST /v1/usdt/sends and GET /v1/usdt/sends/{id} send USDT from your balance to a withdrawal address you registered, after a one-time confirmation code. New webhooks usdt_send.settled, usdt_send.failed and usdt_credit.received. See Send USDT from your wallet.
  • Batch transfers. POST /v1/transfers/batch and GET /v1/transfers/batch/{id} — many transfers under one instruction and one confirmation. See Send a batch of transfers.

2026-09-17

  • Raise an M-PESA prompt. POST /v1/funding/mpesa-push asks a payer to pay into your KES balance from their own phone.
  • credit.received, a webhook for every cleared credit on your KES account, whoever sent it. See Receive money in Kenya.

2026-09-15

  • Fees are itemised. POST /v1/quotes, both order create routes and GET /v1/orders/{id} now return a fee object and a kesTotalAmount beside the existing kesAmount. kesAmount keeps its meaning — the trade principal — and kesTotalAmount is the figure that moves: principal plus the fee on a buy, less the fee on a sell. See Fees.
  • On a buy, kesTotalAmount is what we debit. The buy leg takes the KES from your own balance, so there is nothing for you to send — but the total is the figure that leaves the account and the one to reconcile against. Size your balance against it too: one that covers only kesAmount is refused with INSUFFICIENT_KES_BALANCE.
  • On a sell, kesTotalAmount is what we pay into your account, so it is the figure to reconcile a bank statement against.
  • Webhook payloads carry feeKesAmount and kesTotalAmount. Both are additive; the pricing terms themselves are not published in the payload.
  • usdtAmount and rate are unchanged by any of this. The fee is charged in KES, on the KES side, on both legs — it is a separate named component and it does not move the rate.
  • Two new errors: 422 FEE_EXCEEDS_PROCEEDS when a sell's fee would consume the whole payout, and 503 FEE_PRICING_INVALID. See the error catalogue.

2026-09-14

  • Transfers. POST /v1/transfers and GET /v1/transfers/{id} pay shillings from your KES balance to M-PESA, PesaLink, RTGS, EFT or SWIFT. Every transfer waits for a one-time code sent to your confirmation contact: POST /v1/confirmations/{id} submits it and POST /v1/confirmations/{id}/resend asks for another. New webhooks transfer.settled, transfer.failed and confirmation.expired. See Send money from your KES account.

2026-09-10

  • GET /v1/balances reads the balance of your KES account. See Balances.

2026-09-04

  • Documentation: a plain-language Overview section — what the API is, how an order works, use cases, a glossary and an FAQ — for product, finance and compliance readers, and a rewritten welcome page.
  • Documentation: webhooks, signature verification, authentication and the error catalogue are documented. The reference is ordered by integration workflow and the OpenAPI spec is downloadable.

2026-09-02

  • POST /v1/orders/buy — create a buy order against a quote. Both legs now have a create route.

2026-09-01

  • Outbound webhooks: order.funds_confirmed, order.settled, order.rejected and order.expired, signed with HMAC-SHA256 and retried.
  • Partner API documentation published.

On this page