curl --location --request POST '/payments/refund' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"transaction": "7e0aa22e-d96a-4afc-b257-usbdb127bah12",
"amount": 250
}'{
"status": "Success",
"payment": {
"transaction": "7e0aa22e-d96a-4afc-b257-usbdb127bah12",
"amount": -250,
"coupled_to": "7e0aa22e-d96a-4afc-b257-e05c228nasm12",
"processed_by": "(admin user name)",
"created_at": "(creation date)",
"completed": "completion date",
"hash": "(genereted hash code)"
}
}