curl --location --request POST '/companies//invoices//payments' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 0,
"currencyCode": "string",
"paymentDate": "2019-08-24T14:15:22Z",
"notes": "string",
"referenceNumber": "string"
}'{
"success": true,
"data": {},
"errors": [
"string"
]
}