Core concepts

Requests and answers

Money in minor units, the answer envelope, lists and paging, dates and identifiers.

The API speaks JSON over HTTPS. Send Content-Type: application/json with any request that has a body, and expect JSON back from every endpoint except the ones that return a file.

Money

An amount is always a whole number in the smallest unit of its currency, next to the currency code. There are no decimals and no formatted strings anywhere in the API, so nothing is ever lost to rounding.

You meanYou send
KES 10.001000
KES 1,500.00150000
KES 15,000.501500050
JSON
{
  "amountMinor": 150000,
  "currency": "KES"
}

The answer envelope

Every successful answer puts the result in data. Lists add meta. Every failure puts the reason in error, and never has data. Your code can tell the two apart from the HTTP status alone: 2xx is success, anything else is a failure described on the Errors page.

One record
{
  "data": {
    "id": "0d6f4c1e-8a57-4c3b-9f0e-2f1c7a9d5b11",
    "reference": "PLABCD2345",
    "status": "open"
  }
}
A list
{
  "data": [
    {
      "id": "0d6f4c1e-…",
      "reference": "PLABCD2345"
    },
    {
      "id": "7b1e9a02-…",
      "reference": "PLWXYZ6789"
    }
  ],
  "meta": {
    "page": 1,
    "pageSize": 25,
    "total": 2,
    "pages": 1
  }
}

Lists and paging

Lists are returned newest first, one page at a time.

Query

pageintegerOptional
Which page, counting from 1. Default: 1.
pageSizeintegerOptional
How many per page, up to 100. Default: 25.

meta

pageinteger
The page you are looking at.
pageSizeinteger
How many records a full page holds.
totalinteger
How many records match in all.
pagesinteger
How many pages there are. Stop when page equals pages.
curl https://prod.pay.radingtechnologies.co.ke/payment-links?status=paid&page=2&pageSize=50 \
  -H "Authorization: Bearer $RADIPAY_API_KEY"

Fields you send

Send only the fields an endpoint documents. A field the endpoint does not know is refused with VALIDATION_FAILED instead of being silently ignored, so a misspelt field name can never go unnoticed.

Identifiers, dates and phone numbers

KindFormatExample
IdentifierA UUID. Use it in paths.0d6f4c1e-8a57-4c3b-9f0e-2f1c7a9d5b11
ReferenceShort and readable. Safe to show a client or quote to support.PLABCD2345
Date and timeISO 8601 in UTC. Nairobi is three hours ahead.2026-12-03T09:15:00.000Z
Phone numberA Kenyan mobile number, written any of the usual ways.0712345678 254712345678 +254712345678

Request identifiers

Every answer carries an x-request-id header, and failures repeat it in the body as requestId. Log it. If you ever need help with a request, that identifier lets it be found in seconds. You may send your own x-request-id (up to 64 letters, digits, dots, dashes or underscores) and it will be used instead.

© 2026 Rading Technologies Limited. RadiPay never asks for your M-Pesa PIN, by email, SMS or through the API. Terms · Privacy