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 need | Why |
|---|---|
| The scopes you will use | A key is issued with a fixed list and cannot be widened later. |
| Your webhook endpoint, over HTTPS | Confirmation codes for payouts and transfers are delivered to it. |
| The addresses your servers call us from | Each key can be limited to an IP allowlist. See Credentials. |
| Your corridors and currencies | Which countries your customers live in, and which of KES, USD, GBP and EUR you need. |
| Individuals, businesses, or both | Business customers are verified through their company and directors. |
The checklist
- Sign a request.
GET /v1/customersanswers200with your key. See Authentication. - Verify a webhook. Your endpoint receives the test event and checks its signature before it trusts the body. See Verify signatures.
- Create a customer with your own
externalRef, and handlecustomer.created. Creating the sameexternalRefagain gives409 CUSTOMER_EXTERNAL_REF_TAKEN, and your code finds the existing customer. - Verify a customer on the hosted page or by API, and follow
customer.kyc.updatedtoverified. Show your user what to do atneeds_infoandawaiting_terms. - Open a USD account for the verified customer, and post the same body again
to see the same account answered with
200. - Receive a payment. Simulate a deposit into the customer's USD account and
handle
customer.deposit.received. Your balance for the customer matchesGET /v1/customers/{id}/accounts. - Convert part of the balance to KES, with and without a
partnerFee, and handlecustomer.conversion.updated. - Pay out from the customer's KES account: create the payout, take the code
from
confirmation.code_issued, confirm it, and followcustomer.transfer.updateduntil it is final. - Let a code expire once, and handle
confirmation.expiredby creating the payout again. - Move money from your own account to a customer, or between two customers,
and handle
internal_transfer.completed. - Reconcile. Page through
GET /v1/transactionswith a cursor and match every row to an object your system created. - Handle each refusal in Events and errors by stage
with a message your user can act on, and log the
requestIdof 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.
Events and errors by stage
For each step of a Remittance integration, the webhook events you handle and the refusals worth a branch in your code, with what each one asks you to do next.
Receive money in Kenya
Two Kenyan rails credit your own KES balance — the same balance the buy leg debits directly. Neither rail attaches to an order, and the credit.received webhook is your only completion signal.