POST api/kotakdqr/refund?originalTransactionId={originalTransactionId}&amount={amount}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| originalTransactionId | string |
Required |
|
| amount | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
RefundResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Status | string |
None. |
|
| Amount | decimal number |
None. |
|
| TxnId | string |
None. |
|
| OrigTxnId | string |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Status": "sample string 2",
"Amount": 3.1,
"TxnId": "sample string 4",
"OrigTxnId": "sample string 5",
"ErrorCode": "sample string 6",
"ErrorMessage": "sample string 7"
}
application/xml, text/xml
Sample:
<KotakDQRClass.RefundResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TotalTollAPI.Models"> <Amount>3.1</Amount> <ErrorCode>sample string 6</ErrorCode> <ErrorMessage>sample string 7</ErrorMessage> <OrigTxnId>sample string 5</OrigTxnId> <Status>sample string 2</Status> <Success>true</Success> <TxnId>sample string 4</TxnId> </KotakDQRClass.RefundResponse>