curl --location --request GET 'https://api.cash-in.com/v2/receivedpayments?fromDate&toDate' \
--header 'X-Api-Key: <api-key>'[
{
"CaseId": 0,
"InvoiceNumber": "string",
"InvoicePaymentReference": "string",
"OriginalPaymentReference": "string",
"DateSaved": "2019-08-24T14:15:22.123Z",
"DatePosted": "2019-08-24T14:15:22.123Z",
"PaymentDate": "2019-08-24T14:15:22.123Z",
"PaymentAmount": 0,
"PaymentCurrency": "string"
}
]