OnLink
API reference

List a customer’s transactions

The customer’s internal transfers, payouts, conversions and deposits, newest first, 50 to a page. Filter by type, status and creation date: a date without a time is a day in East Africa Time (UTC+3). Read the next page by passing nextCursor back as cursor. A closed customer’s transactions stay readable. Amounts are decimal strings in the transaction’s own currency; a GBP deposit is listed in GBP.

GET
/v1/customers/{id}/transactions

Authorization

partner-key
X-OnLink-Key<token>

In: header

Path Parameters

id*string

Query Parameters

type?string

Only this kind of transaction.

Value in

  • "internal_transfer"
  • "payout"
  • "conversion"
  • "deposit"
status?string

Only transactions at this status.

Value in

  • "pending"
  • "processing"
  • "completed"
  • "failed"
from?string

Only transactions created at or after this. YYYY-MM-DD is the start of that day in East Africa Time (UTC+3), or give a full ISO-8601 instant.

to?string

Only transactions created before this. YYYY-MM-DD means before the start of the NEXT day in East Africa Time, so the whole named day is included; or give a full ISO-8601 instant (exclusive). Not earlier than from.

cursor?string

The nextCursor of the previous page. Opaque: pass back only a value this list gave you.

Lengthlength <= 200

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/customers/string/transactions"
{  "data": [    {      "id": "3f0c1f0e-5a3e-4d6e-9b53-0b8d2f6f4a10",      "type": "deposit",      "status": "completed",      "customerId": "5f0c1a3e-2d4b-4c6a-8e9f-0a1b2c3d4e5f",      "customerName": "Amina Customer",      "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}