Get transactions

GET /v1/customer-partner/{{customer_partner_id}}/transactions/financings

Get all transactions

Response

This is the expected response if the request is successful

{
    "status": "success",
    "message": "Successfully fetched transactions",
    "data": [
        {
          "start_date": "2022-05-02T23:00:00.000Z",
          "upload_date": "2022-05-04T21:26:25.000Z",
          "transaction_reference": "740645a8-584d-45ac-aff1-c76e2cc3c396",
          "client_id": "DjAZlglkyGv8gh73",
          "first_name": "Alfie",
          "last_name": "Freya",
          "contact_number": null,
          "financing_requested": true,
          "channel": "schedule",
          "request_status": "approved",
          "loan_status": "defaulted",
          "drawdown_id": "caLfQxqQ5v2DPTEW",
          "amount": 530000
        },
      	{
          "start_date": "2022-05-06T23:00:00.000Z",
          "upload_date": "2022-04-27T12:51:22.000Z",
          "transaction_reference": "32294ef6-aa29-4cdf-9298-77f16859042705",
          "client_id": "IyXnnJUBSFykxA85",
          "first_name": "John",
          "last_name": "Doe",
          "contact_number": "08000000000",
          "financing_requested": true,
          "channel": "schedule",
          "request_status": "approved",
          "loan_status": "defaulted",
          "drawdown_id": null,
          "amount": 50
        },
      	{
          "start_date": "2022-05-06T23:00:00.000Z",
          "upload_date": "2022-04-27T10:48:36.000Z",
          "transaction_reference": "32294ef6-aa29-4cdf-9298-77f16859042701",
          "client_id": "IyXnnJUBSFykxA85",
          "first_name": "John",
          "last_name": "Doe",
          "contact_number": "08000000000",
          "financing_requested": true,
          "channel": "schedule",
          "request_status": "approved",
          "loan_status": "completed",
          "drawdown_id": null,
          "amount": 100
        },
    ]
}