Refund Charge
post
https://api.nomod.com/v1/charges/{id}/refundRefund charge (partially or full).
curl -X POST 'https://api.nomod.com/v1/charges/:id/refund' \
-H 'X-API-KEY: $NOMOD_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"amount": "0.00"
}'Path parameters
idstring <uuid>requiredRequest body
amountstring <decimal>requiredamount to be refunded
Responses
messagestringSuccesfully refunded
Example response
{
"message": "string"
}