Refund

Refunds will allow you refund a payment for a dispute that has been raised, but not yet refunded. Funds will be refunded to the credit or debit card that was originally charged. For refunds to take place, you need to add a dispute.

Refunds can be done in full or part (Partial refund). You can also partially refund a payment in multiple times until the entire payment has been refunded, as long as it does not exceed the charged amount. Once the entire amount has been refunded, a payment can’t be refunded again. This method will return an error when called on an already-refunded payment, or when trying to refund more money than is left on a payment.

REQUEST :
curl -X POST
https://staging.seerbitapigateway.com/merchants/api/v1/user/00000001/refunds
-H 'Authorization: Bearer token' \
{
"transactionRef" : "TXyys7722",
"type": "PARTIAL_REFUND | FULL_REFUND",
"amount": "0.5",
"description": "Buyer genuinely didn’t receive value and refund will be sent",
}