x-api-key: ********************curl --location -g --request PATCH 'https://relay.exostack.cloud//api/customers/payments/by-id/' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"customer_id": 1,
"customer_code": "string",
"payment_type": 1,
"payment_date": "2019-08-24T14:15:22.123Z",
"notice_date": "2019-08-24T14:15:22.123Z",
"receivable": 0,
"reference": "string",
"current_day": true,
"modes": [
{
"mode": 0,
"amount": 0
}
]
}'{
"id": 140,
"success": true
}