OnLink
GuidesRemittance

Integration checklist

What a complete Remittance integration has proven in sandbox: one item per step of the journey, each one a call you made and an event you handled.

Use this list to check your own integration before you ask us for real money. Each item is something you can do and see for yourself in sandbox, with no help from us once your credential is issued. It follows the remittance journey step by step.

Before you start

Send us these with your sandbox request, so your credential is issued right the first time:

We needWhy
The scopes you will useA key is issued with a fixed list and cannot be widened later.
Your webhook endpoint, over HTTPSConfirmation codes for payouts and transfers are delivered to it.
The addresses your servers call us fromEach key can be limited to an IP allowlist. See Credentials.
Your corridors and currenciesWhich countries your customers live in, and which of KES, USD, GBP and EUR you need.
Individuals, businesses, or bothBusiness customers are verified through their company and directors.

The checklist

  1. Sign a request. GET /v1/customers answers 200 with your key. See Authentication.
  2. Verify a webhook. Your endpoint receives the test event and checks its signature before it trusts the body. See Verify signatures.
  3. Create a customer with your own externalRef, and handle customer.created. Creating the same externalRef again gives 409 CUSTOMER_EXTERNAL_REF_TAKEN, and your code finds the existing customer.
  4. Verify a customer on the hosted page or by API, and follow customer.kyc.updated to verified. Show your user what to do at needs_info and awaiting_terms.
  5. Open a USD account for the verified customer, and post the same body again to see the same account answered with 200.
  6. Receive a payment. Simulate a deposit into the customer's USD account and handle customer.deposit.received. Your balance for the customer matches GET /v1/customers/{id}/accounts.
  7. Convert part of the balance to KES, with and without a partnerFee, and handle customer.conversion.updated.
  8. Pay out from the customer's KES account: create the payout, take the code from confirmation.code_issued, confirm it, and follow customer.transfer.updated until it is final.
  9. Let a code expire once, and handle confirmation.expired by creating the payout again.
  10. Move money from your own account to a customer, or between two customers, and handle internal_transfer.completed.
  11. Reconcile. Page through GET /v1/transactions with a cursor and match every row to an object your system created.
  12. Handle each refusal in Events and errors by stage with a message your user can act on, and log the requestId of every refusal you could not handle.

Telling sandbox money from real money

A customer you create in sandbox holds simulated money, and a deposit you simulate for them answers with the X-OnLink-Money-Mode header set to simulated. See Telling simulated money from live.

When the list is done

Real money is enabled per partner once your integration is certified. Nothing in your code changes but the base URL and your credentials. Tell us when every item above passes, and send the requestId of one payout you confirmed.

On this page