Refunds
Learn how you can refund a payments accepted using Plural.
A refund is a process when a receiver returns money back to a customer for a canceled or disputed transaction. This typically happens when a customer returns a product, cancels a service, or faces an issue with their purchase. The purpose is to reverse the original transaction and return the funds to the customer.
Plural processes refund directly to the customer's original payment method to prevent chargebacks. For example, if a credit card was used for the payment, the refund will be returned to that same credit card.
You can use the below API to Create a Refund.
1. Create Refund
Use this API to initiate a refund against an order. You can use this API only when the order status is processed
.
Use the below endpoint to initiate a refund against an order.
POST: https://pluraluat.v2.pinepg.in/api/pay/v1/refunds/{order_id}
POST: https://api.pluralpay.in/api/pay/v1/refunds/{order_id}
Shown below is a sample request and sample response for a Create Refund API.
{
"merchant_refund_reference": "232343434344",
"refund_amount": {
"value": 1100,
"currency": "INR"
},
"merchant_metadata": {
"key1": "DD",
"key_2": "XOF"
}
}
{
"data": {
"order_id": "v1-5757575757-aa-hU1rUd",
"refunds": [
{
"merchant_refund_reference": "merchant-reference-r4n",
"refund_id": "v1-3314042524-ga-0Y129h",
"status": "PROCESSED",
"merchant_id": "merchant-123",
"refund_amount": {
"value": 1100,
"currency": "INR"
},
"created_at": "2024-04-30T08:01:32Z",
"updated_at": "2024-04-30T08:01:32Z"
}
]
}
}
Refer to our Create Refund API documentation for more information.
Updated 4 days ago