Nomod
Charges/Refund Charge

Refund Charge

posthttps://api.nomod.com/v1/charges/{id}/refund

Refund 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>required

Request body

amountstring <decimal>required

amount to be refunded

Responses

messagestring

Succesfully refunded

Example response

{
  "message": "string"
}