post https://qa.interswitchng.com/paymentgateway/api/v1/refunds
This endpoint is used to issue a refund for a previously processed transaction.
RESPONSE MESSAGE DESCRIPTION
| Parameter | Description | 
|---|---|
| id | The refund ID in the DB. | 
| refundReference | The reference of the newly created refund | 
| parentPaymentId | The database ID | 
| refundType | PARTIAL or FULL, determined by the refund amount. | 
| refundAmount | The amount requested. | 
| createdDate | UNIX timestamp of when the request was created. | 
| refundStatus | The processing state of the refund request, this could be either: SUCCESS, PENDING, PROCESSING, FAILED,COMPLETE, COMPLETE_MANUAL. You can view the full refund statuses and their meanings here Refund Guide | 
| createdBy | Details of the user who requested the refundUNIX timestamp of when the request was created. | 
| reasonForRefund | Details of the refund reason. | 
| merchantCode | The initiating merchant's code. | 
