curl --request POST \
--url https://sandbox.hurdlr.com/rest/v5/invoicing/payment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: */*' \
--data '
{
"sendEmail": true,
"payment": {
"invoiceId": 123,
"id": 123,
"apiName": "STRIPE",
"apiPaymentId": "pi_3KX9F5KkMq1CsF5K00DChQgZ",
"bankDescription": "<string>",
"grossPaymentAmount": 300,
"feePaymentAmount": 9,
"paymentSource": "Visa *4747 Charge",
"date": "2021-01-04",
"status": "PROCESSED",
"reviewStatus": "PARTNER_REVIEW_REQUIRED",
"receiptUrl": "<string>",
"errorMessage": "<string>",
"customData": {},
"v6EntityId": "<string>"
}
}
'