Versions Compared

Key

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

This API enables you process refund to a customer for a transaction.

Event Based WebhooksWebhook Events and Request Structure are sent to merchants who have configured a webhook to receive notifications upon completion of a transaction refund. 

...

Info
titleEndpoint
POST: https://sandbox.monnify.com/api/v1/refunds/initiate-refund

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

Request

Code Block
languagejs
themeRDark
titleInitiate Refund Request
{
    "transactionReference": "tranRef",
	"refundReference":"merchantRefundRef",
	"refundAmount": 1000.56,
	"refundReason": "Order cancelled! (limited to 64 characters)",
	"customerNote": "An optional note to be sent to customer (limited to 16 characters)",
	"destinationAccountNumber": "Optional account number to send the refund amount to",
	"destinationAccountBankCode": "Optional bank code to identify the destination bank"
}

...