Refund Fund a Need pledge donation

This API is used to refund the donation amount of the given pledge id. The refund amount is processed from the payment gateway which is configured in the event from the payment processing page. This API can be accessed by event admin and super admin. We need to pass an authentication token to authorize the user and pass the event URL in path param.

Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.

Error CodeError Description
4060206Unable to refund the pledge.
4040004Could not find the pledge.
4060205Sorry, only paid pledge can be refunded.
Click Try It! to start a request and see the response here!