OnLink
Guides

Read your customers’ transactions

List the transfers, payouts, conversions and deposits of one customer or of all of them, filter by type, status and date, and page through the result.

Transactions is one newest-first list of everything that moved money for your customers: the internal transfers you sent or received, their payouts, their conversions and the deposits that arrived in their accounts. Use it to reconcile, to show a customer their history, or to find a movement whose id you did not keep.

These two calls are on a Remittance account and need customer_transfers:read. A key that holds only customer_accounts:* or transfers:* is refused 403 insufficient_scope, and errorCode names the scope it lacks. See Products and scopes. Each is limited to 60 calls a minute for your account.

Every customer belongs to you alone. Another partner's customer id reads exactly like one that does not exist, and the list only ever contains your own customers' transactions.

1. List them

GET /v1/transactions

GET /v1/customers/{id}/transactions lists one customer's. GET /v1/transactions lists every customer of yours, and takes the same filters plus customerId. All filters are optional and combine.

FilterMeaning
customerIdOnly this customer (/v1/transactions only). A customer that is not yours is 404 CUSTOMER_NOT_FOUND.
typeinternal_transfer, payout, conversion or deposit.
statuspending, processing, completed or failed.
fromCreated at or after this. 2026-11-01 is the start of that day in East Africa Time (UTC+3), or give a full ISO-8601 instant.
toCreated before this. 2026-11-30 means before the start of the NEXT day, so the whole of 30 November is included.
cursorThe nextCursor of the previous page.

A page is 50 rows. There is no limit. When there is another page, nextCursor is set: pass it back as cursor with the same filters. It is opaque: pass back only a value this list gave you. A malformed cursor is 400 INVALID_CURSOR; one that names no row of yours (a row that is not yours, or one that no longer exists) returns an empty page. Paging is stable: a new transaction arriving while you page never makes you skip or repeat a row.

A from later than to is 400 DATE_RANGE_INVERTED, not an empty list, so a swapped pair is never read as "no transactions". Two dates are compared as days: from=2026-11-11 with to=2026-11-10 is refused, and the same date as both bounds is that one day.

An unknown type or status, or a from or to that is not a date, is a 400 that names the field.

2. Read a row

{
  "data": [
    {
      "id": "3f0c1f0e-5a3e-4d6e-9b53-0b8d2f6f4a10",
      "type": "deposit",
      "status": "completed",
      "customerId": "5f0c1a3e-2d4b-4c6a-8e9f-0a1b2c3d4e5f",
      "customerName": "Amina Wanjiru",
      "direction": "in",
      "amount": "100.00",
      "currency": "GBP",
      "fees": { "onlink": "1.50", "partner": "0.75" },
      "counterparty": "Sender One",
      "createdAt": "2026-11-10T10:05:00.000Z",
      "completedAt": "2026-11-10T10:06:00.000Z"
    }
  ],
  "nextCursor": null
}

This is the 200 answer. Every amount is a decimal string in the row's own currency: a GBP deposit is listed in GBP, never converted to another currency, and its fees are in GBP too.

FieldWhat it says
customerIdThe customer the row belongs to. On an internal transfer between two customers, the sender (see below).
customerNameThat customer's display name, as you registered it, so a list of many customers needs no lookup per row. Never their legal name or email. Follows customerId, not the counterparty.
typeinternal_transfer, payout, conversion or deposit. Read an internal transfer, payout or conversion on its own route with the id.
statuspending: accepted, nothing has moved (waiting for its confirmation code, or a deposit held for a decision). processing: money is moving. completed and failed are final: failed covers refused, expired and returned.
directionRelative to the customer: in is money arriving, out is money leaving. null for a conversion, which moves money between two of the customer's own accounts.
amountA payout, an internal transfer and a conversion show the amount sent or sold. A deposit shows the amount that arrived, before our fee.
fees.onlinkOur fee in the row's currency. "0.00" on an internal transfer, which is free, and on a conversion, whose cost is in its rate. A deposit that was returned to the payer was charged no fee, even one returned after it had been credited.
fees.partnerYour own fee in the row's currency, "0.00" when none was charged. A deposit that was returned to the payer carries no partner fee: "0.00".
counterpartyThe other party where one is known: the other customer's display name on an internal transfer (null when the other end is your own account), the beneficiary name on a payout, the sender on a deposit. null on a conversion.
completedAtWhen it completed. null until then, and always null on a failed row.

3. What is, and is not, in the list

  • Only your customers' money. A payout from your own account (POST /v1/transfers) and a deposit into your own account are not here.
  • An internal transfer between your own account and a customer is one row for that customer. A transfer between two customers is one row, listed against the sender when you read /v1/transactions. Ask for either customer with customerId (or use /v1/customers/{id}/transactions) and the same transfer is read as that customer's: out for the sender and in for the receiver, each naming the other as the counterparty.
  • A closed customer's transactions stay readable.
  • The list shows the status OnLink holds. A payout or conversion that has not reached an end is processing, not failed: read it with its own route, or wait for its webhook.

Errors worth handling

StatusCodeWhat to do
400DATE_RANGE_INVERTEDSwap from and to.
400INVALID_CURSORStart again from the first page.
404CUSTOMER_NOT_FOUNDCheck the customer id.
503REMITTANCE_DISABLEDRemittance is not enabled for this environment.

See Errors for the full meaning of each.

On this page