Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This API can be used to get status of an initiated refund.

...

Info
titleEndpoint
GET: https://sandbox.monnify.com/api/v1/refunds/{{refundReference}}

Please note that this endpoint is protected using OAuth2 Token. Visit Authentication  section of this document for details on OAuth2 Token.

...

Code Block
languagejs
themeRDark
titleGet Refund Status Response
{
   "requestSuccessful":true,
   "responseMessage":"success",
   "responseCode":"0",
   "responseBody":{
	  "refundReference": "refundReference",
      "transactionReference":"MNFY|0111231|123412342",
	  "refundReason": "Order was cancelled",
      "customerNote": "Refund-orderJ111",
      "refundAmount":1200,
      "refundStatus":"IN_PROGRESS",
      "refundType":"FULL_REFUND",
      "createdOn":"2021-04-20 16:21:37.17917/03/2021 3:32:09 AM",
      "completedOn":"2021-04-20 17:21:37.17917/03/2021 4:32:09 AM",
      "comment":"Refund processed successfully."
   }
}

...