post https://staging.eko.in/ekoapi/v2/transactions//refund
Initiate refund to the customer for a failed cash to digital transaction
POST
/transactions/:id/refund
eg: /transactions/12208775/refundNote: Parameters passed in request body should be application/x-www-form-urlencoded
This API is used to safely refund cash to a customer in case his/her transaction fails.
- When the transaction fails, we automatically send an OTP to the customer
- Ask for that OTP from the customer and call this API with the OTP.
- This will act as a consent that you have actually refunded back the cash to the customer. After this API call, we will refund the eValue into your account.