GET
/
payments
/
{orderReference}
curl --request GET \
  --url https://api.clickpesa.com/third-parties/payments/{orderReference} \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "status": "SUCCESS",
    "paymentReference": "<string>",
    "orderReference": "<string>",
    "collectedAmount": 123,
    "collectedCurrency": "<string>",
    "message": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "customer": {
      "customerName": "<string>",
      "customerPhoneNumber": "<string>",
      "customerEmail": "jsmith@example.com"
    }
  }
]

Authorizations

Authorization
string
header
required

Authorization header containing the JWT access token returned from the generate token endpoint. The token already includes the Bearer prefix. Example: Authorization: Bearer eyJhbGciOi...

Path Parameters

orderReference
string
required

Unique identifier for the payment order

Response

200
application/json

Query Payments by order reference response

The response is of type object[].