Convert a customer balance
Debits the currency you convert from out of the customer’s account in it and credits the currency you convert to into the customer’s account in that, asynchronously, at your rate: GBP, EUR or USD to KES, or KES to any of them. A conversion between two foreign currencies is two conversions through KES. The customer must be verified and hold an account in both currencies. The amount and your own fee are reserved on the source account until the conversion ends. Poll GET /v1/customers/:id/conversions/:id or wait for customer.conversion.updated. If the exchange cannot be completed after the amount was debited, it is returned to the customer and the conversion ends failed with the reason. A partnerFee is in the currency converted from and is paid from the customer account to your own account after the conversion settles: at most the lower of a share and a ceiling set for your account; with no terms set only "0.00" is accepted. No confirmation code: both accounts are the customer’s own.
Authorization
partner-key In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/customers/string/conversions" \ -H "Content-Type: application/json" \ -d '{ "from": "GBP", "to": "KES", "amount": "100.00", "partnerReference": "remit-2026-11-19-0007", "idempotencyKey": "cnv-2026-11-19-0001" }'{ "id": "c0a8012e-7b1a-4c39-9d3e-2f5c8a1b6d40", "status": "processing"}Open a customer account POST
Makes sure a verified customer has an account in the currency: KES, USD, GBP or EUR. Answers 201 when this call opened it and 200 when it already existed, so posting again is safe. A KES account is paid into by M-PESA or bank transfer (kesInstructions, once it is active). A USD account also gets the customer’s own US bank details when the customer is approved for them; when not, the account still opens and namedAccount.reason says why and whether posting again can change it. A EUR account likewise gets its own euro bank details (an IBAN and a BIC, in depositDetails) when the customer is approved for them, with the same reasons plus EUR_DETAILS_UNAVAILABLE when issuing them failed and the attempt was closed (post again); a payment to those euro bank details is held and not credited yet. A USD, GBP or EUR account is paid into from outside the way a retail account is: depositRoutes lists a local bank transfer from a bank inside Kenya (RTGS in the account’s currency) and, for USD and GBP, an international transfer that must quote the account number as the payment reference. EUR has no international route yet, and depositRoutesNote says so. A new account is provisioning until its number lands: read it again shortly. The customer must be verified; the call is refused while your own account is suspended. Opening can be switched off per environment (503 CUSTOMER_ACCOUNTS_DISABLED) while reading keeps working. GBP and EUR answer 503 CUSTOMER_ACCOUNT_CURRENCY_DISABLED to every POST while they are not open for use yet, a repeat for an account that already exists included (read it with GET): retry after OnLink enables them.
Invite a director to verify their identity POST
Asks us to email one of the company’s directors a link to verify their own identity. The email is sent in your name, in your brand. Take directorId from the directors in the application (GET …/kyb). Inviting the same director again sends a fresh link and ends the old one, at most once a minute per director. A director who has already verified but has not yet given their own home address (residentialAddressProvided is false) can be invited again: the new link opens only that step. The answer shows the application; the director’s invitedAt says the email went out, and is null if it could not be sent, in which case invite again. In the sandbox, invitedAt records the request and the email may not be delivered. The link itself is never returned: it is the director’s own credential. Limited to 60 requests a minute per partner.