POST api/Paymob/PaymentAcceptance
Request Information
URI Parameters
None.
Body Parameters
PaymentAcceptanceName | Description | Type | Additional information |
---|---|---|---|
Amount | decimal number |
None. |
|
transactionKey | string |
None. |
|
PatientInfo | PatientInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "Amount": 1.1, "transactionKey": "sample string 1", "PatientInfo": { "FirstName": "sample string 1", "LastName": "sample string 2", "EmailAddress": "sample string 3", "PhoneNumber": "sample string 4" } }
application/xml, text/xml
Sample:
<PaymentAcceptance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Payment.Models"> <Amount>1.1</Amount> <PatientInfo> <EmailAddress>sample string 3</EmailAddress> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <PhoneNumber>sample string 4</PhoneNumber> </PatientInfo> <transactionKey>sample string 1</transactionKey> </PaymentAcceptance>
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. |