Overview of the refunds response object.
Shown below is a sample responses of a Create Refund API.
{
"data": {
"order_id": "v1-5757575757-aa-hU1rUd",
"refunds": [
{
"merchant_refund_reference": "23242324232423",
"refund_id": "v1-3314042524-ga-0Y129h",
"status": "PROCESSED",
"merchant_id": "123456",
"refund_amount": {
"value": 1100,
"currency": "INR"
},
"created_at": "2024-04-30T08:01:32Z",
"updated_at": "2024-04-30T08:01:32Z"
}
]
}
}
The table below lists the various parameters returned in the refund response object.
Parameter | Type | Description |
---|---|---|
order_id | string | Unique identifier of the order in the Plural database. Example: v1-5757575757-aa-hU1rUd |
refunds | object | An object that contains the refund details. Learn more about our refunds child object. |
Refunds [Child Object]
The table below lists the various parameters in the refunds
child object. This object is part of the refunds sample response
object.
Parameter | Type | Description |
---|---|---|
merchant_refund_reference | string | Merchant unique identifier for the refund reference.
23242324232423 |
refund_id | string | Unique identifier of the refund in the Plural database. Example: v1-3314042524-ga-0Y129h |
status | string | Refund statuses. Possible values:
|
merchant_id | string | Unique identifier of the merchant in the Plural database. Example: 123456 |
refund_amount | object | An object that contains the refund amount details. Learn more about our refund_amount child object. |
created_at | string | Unix timestamp when the create refund request was received by Plural. Example: 2024-07-09T07:57:08.022056Z |
updated_at | string | Unix timestamp when the refund response object is updated. Example: 2024-07-09T07:57:08.022065Z |
Refund Amount [Child Object]
The table below lists the various parameters in the refund_amount
child object. This object is part of the refunds
object.
Parameter | Type | Description |
---|---|---|
value | integer | Refund amount is Paisa.
100 |
currency | string | Type of currency. Example: INR |