Pay-ins History API

The Pay-ins History API lets you fetch all pay-in transactions that have been made to your Kora account without having to get them from the dashboard. Use the following endpoint to fetch your transactions:

{{baseurl}}/merchant/api/v1/pay-ins

The parameters for this request include:

FieldData TypeDescription
currencyStringOptional - transaction currency e.g. NGN, KES, etc.
date_fromStringOptional - fetch transactions from this date. Use format YYYY-MM-DD-HH-MM-SS.
date_toStringOptional - fetch transactions up to this date. Use format YYYY-MM-DD-HH-MM-SS.
limitNumberOptional - If not passed, we send a limit of 10.
starting_afterStringOptional - used for pagination, must be used separately with ending_before, it expects the pointer from the response.
ending_beforeStringOptional - used for pagination, must be used separately with starting_after, it expects the pointer from the response.

An example of the response to this request would look like this:

{
  "has_more": true,
    "data": {
      "pointer": "cus_7087",
      "reference": "KPY-PAY-gL3oDeoAlWYz",
      "status": "success",
      "amount": "5000.00",
      "amount_paid": "5000.00",
      "amount_expected": "5000.00",
      "fee": "26.88",
      "currency": "NGN",
      "description": "Test",
      "payment_method": "bank_transfer",
      "message": "Successful",
      "date_created": "2023-09-28 12:24:29",
      "date_completed": "2023-09-28 12:25:10"
    }
}