POST api/Payfort/SaveDirectFeedback
Request Information
URI Parameters
None.
Body Parameters
DirectFeedbackModelName | Description | Type | Additional information |
---|---|---|---|
amount | decimal number |
None. |
|
response_code | string |
None. |
|
card_number | string |
None. |
|
card_holder_name | string |
None. |
|
signature | string |
None. |
|
merchant_identifier | string |
None. |
|
access_code | string |
None. |
|
payment_option | string |
None. |
|
expiry_date | string |
None. |
|
customer_ip | string |
None. |
|
language | string |
None. |
|
eci | string |
None. |
|
fort_id | string |
None. |
|
command | string |
None. |
|
merchant_extra | string |
None. |
|
response_message | string |
None. |
|
merchant_reference | string |
None. |
|
customer_email | string |
None. |
|
remember_me | string |
None. |
|
currency | string |
None. |
|
status | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "amount": 1.0, "response_code": "sample string 2", "card_number": "sample string 3", "card_holder_name": "sample string 4", "signature": "sample string 5", "merchant_identifier": "sample string 6", "access_code": "sample string 7", "payment_option": "sample string 8", "expiry_date": "sample string 9", "customer_ip": "sample string 10", "language": "sample string 11", "eci": "sample string 12", "fort_id": "sample string 13", "command": "sample string 14", "merchant_extra": "sample string 15", "response_message": "sample string 16", "merchant_reference": "sample string 17", "customer_email": "sample string 18", "remember_me": "sample string 19", "currency": "sample string 20", "status": "sample string 21" }
application/xml, text/xml
Sample:
<DirectFeedbackModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Payment.Models"> <access_code>sample string 7</access_code> <amount>1</amount> <card_holder_name>sample string 4</card_holder_name> <card_number>sample string 3</card_number> <command>sample string 14</command> <currency>sample string 20</currency> <customer_email>sample string 18</customer_email> <customer_ip>sample string 10</customer_ip> <eci>sample string 12</eci> <expiry_date>sample string 9</expiry_date> <fort_id>sample string 13</fort_id> <language>sample string 11</language> <merchant_extra>sample string 15</merchant_extra> <merchant_identifier>sample string 6</merchant_identifier> <merchant_reference>sample string 17</merchant_reference> <payment_option>sample string 8</payment_option> <remember_me>sample string 19</remember_me> <response_code>sample string 2</response_code> <response_message>sample string 16</response_message> <signature>sample string 5</signature> <status>sample string 21</status> </DirectFeedbackModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |