curl --location --request POST 'https://demo.preprod.crego.ai/flow/api/payments//refund/' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 0,
"reason": "string"
}'{
"id": 0,
"amount": "string",
"status": "string",
"reference": "string",
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}