POST api/SystemSettings/ProcessSessionPaymentviaServices
Request Information
URI Parameters
None.
Body Parameters
PaymentSessionRequestName | Description | Type | Additional information |
---|---|---|---|
IsPlatformApplePay | boolean |
None. |
|
PlatformSessionID | string |
None. |
|
device | string |
None. |
|
PaymentToken | string |
None. |
|
ServiceID | integer |
None. |
|
OperatorID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "IsPlatformApplePay": true, "PlatformSessionID": "sample string 2", "device": "sample string 3", "PaymentToken": "sample string 4", "ServiceID": 1, "OperatorID": 1 }
application/xml, text/xml
Sample:
<PaymentSessionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models.SystemSettings"> <IsPlatformApplePay>true</IsPlatformApplePay> <OperatorID>1</OperatorID> <PaymentToken>sample string 4</PaymentToken> <PlatformSessionID>sample string 2</PlatformSessionID> <ServiceID>1</ServiceID> <device>sample string 3</device> </PaymentSessionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ActionResponseName | Description | Type | Additional information |
---|---|---|---|
success | boolean |
None. |
|
code | string |
None. |
|
message | string |
None. |
|
errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "code": "sample string 2", "message": "sample string 3", "errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ActionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models"> <code>sample string 2</code> <errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </errors> <message>sample string 3</message> <success>true</success> </ActionResponse>