---
updatedAt: 2025-02-28T00:12:21.000Z
agentTools:
  projectIndex: https://developers.korapay.com/llms.txt
---

# 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:

| Field            | Data Type | Description                                                                                                                  |
| :--------------- | :-------- | :--------------------------------------------------------------------------------------------------------------------------- |
| `currency`       | String    | **Optional** - transaction currency e.g. `NGN`, `KES`, etc.                                                                  |
| `date_from`      | String    | **Optional** - fetch transactions from this date. Use format `YYYY-MM-DD-HH-MM-SS`.                                          |
| `date_to`        | String    | **Optional** - fetch transactions up to this date. Use format `YYYY-MM-DD-HH-MM-SS`.                                         |
| `limit`          | Number    | **Optional** - If not passed, we send a limit of `10`.                                                                       |
| `starting_after` | String    | **Optional** - used for pagination, must be used separately with `ending_before`, it expects the pointer from the response.  |
| `ending_before`  | String    | **Optional** - 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:

```json Sample Response
{
  "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"
    }
}
```