POST api/Payfort/RefundTransaction
Request Information
URI Parameters
None.
Body Parameters
RefundTransactionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OperationKey | string |
None. |
|
| ComponentKey | string |
None. |
|
| RefundType | RefundType |
None. |
|
| RefundedAmount | integer |
None. |
|
| PaymentProductId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"OperationKey": "sample string 1",
"ComponentKey": "sample string 2",
"RefundType": 1,
"RefundedAmount": 3,
"PaymentProductId": 1
}
application/xml, text/xml
Sample:
<RefundTransactionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Payment.Models"> <ComponentKey>sample string 2</ComponentKey> <OperationKey>sample string 1</OperationKey> <PaymentProductId>1</PaymentProductId> <RefundType>Value</RefundType> <RefundedAmount>3</RefundedAmount> </RefundTransactionModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |