curl --location --request POST 'https://api.cash-in.com/v2/postinvoicepayment' \
--header 'X-Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"InvoiceNumber": 0,
"PaymentGuid": "string",
"PaymentDate": "2019-08-24T14:15:22.123Z",
"PaymentCurrency": "string",
"PaymentAmount": -999999999999999,
"PaymentDescription": "string",
"PointOfSalesName": "string"
}'{
"Message": "string",
"PostedPaymentAmount": 0
}