Refund API
The Refund API allows you to initiate a refund for a specific transaction using the `transaction_id`. This endpoint processes the refund and provides real-time confirmation of the refund status.
API Endpoint
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
transaction_id | String | Yes | The unique ID of the transaction to be refunded. |
reason | String | Yes | The reason for the refund request. |
Headers
Header Name | Description |
---|---|
Content-Type | Specifies the content type. Always set to application/json . |
Authorization | Bearer token for authentication. |
Success Response
If the refund request is successful, the API will return the following response: