POST api/MerchantSoftPOS/QNBPayment_QPOS
Request Information
URI Parameters
None.
Body Parameters
QNBPaymentRequest_QPOSName | Description | Type | Additional information |
---|---|---|---|
project_id | string |
None. |
|
private_key_id | string |
None. |
|
merchant_email | string |
None. |
|
merchant_id | integer |
None. |
|
description | string |
None. |
|
merchant_defined_data | string |
None. |
|
merchant_reference | string |
None. |
|
secure_hash | string |
None. |
|
amount | decimal number |
None. |
|
StoreID | integer |
None. |
|
ServiceID | integer |
None. |
|
SoftStoreTerminalID | integer |
None. |
|
POSID | integer |
None. |
|
Auth | string |
None. |
|
Number | string |
None. |
|
QID | string |
None. |
|
IsTransactionSuccessful | boolean |
None. |
|
TransactionReference | string |
None. |
|
ShouldIncludeStoreSpecificData | boolean |
None. |
|
StoreData | StoreSpecificData |
None. |
Request Formats
application/json, text/json, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
QNBPaymentResponseName | Description | Type | Additional information |
---|---|---|---|
RequestDate | date |
None. |
|
MerchantReference | string |
None. |
|
success | boolean |
None. |
|
code | string |
None. |
|
message | string |
None. |
|
errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "RequestDate": "2025-06-15T07:28:33.1119986+03:00", "MerchantReference": "sample string 2", "success": true, "code": "sample string 4", "message": "sample string 5", "errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<MSoftPOSModel.QNBPaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models"> <code>sample string 4</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 5</message> <success>true</success> <MerchantReference>sample string 2</MerchantReference> <RequestDate>2025-06-15T07:28:33.1119986+03:00</RequestDate> </MSoftPOSModel.QNBPaymentResponse>