POST api/MerchantSoftPOS/GeneratePaymentRequest_QPOS
Request Information
URI Parameters
None.
Body Parameters
QRPaymentRequest_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. |
|
qr_type | 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. |
|
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
MerchantQRCodePaymentRequestResponse_QPOSName | Description | Type | Additional information |
---|---|---|---|
QrCodeData | string |
None. |
|
UUID | string |
None. |
|
SessionID | string |
None. |
|
RequestID | integer |
None. |
|
Amount | decimal number |
None. |
|
MerchantReference | string |
None. |
|
MerchantEmail | string |
None. |
|
StoreID | integer |
None. |
|
PaymentUrl | string |
None. |
|
success | boolean |
None. |
|
code | string |
None. |
|
message | string |
None. |
|
errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "QrCodeData": "sample string 1", "UUID": "sample string 2", "SessionID": "sample string 3", "RequestID": 4, "Amount": 5.0, "MerchantReference": "sample string 6", "MerchantEmail": "sample string 7", "StoreID": 8, "PaymentUrl": "sample string 9", "success": true, "code": "sample string 11", "message": "sample string 12", "errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<MSoftPOSModel.MerchantQRCodePaymentRequestResponse_QPOS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models"> <code>sample string 11</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 12</message> <success>true</success> <Amount>5</Amount> <MerchantEmail>sample string 7</MerchantEmail> <MerchantReference>sample string 6</MerchantReference> <PaymentUrl>sample string 9</PaymentUrl> <QrCodeData>sample string 1</QrCodeData> <RequestID>4</RequestID> <SessionID>sample string 3</SessionID> <StoreID>8</StoreID> <UUID>sample string 2</UUID> </MSoftPOSModel.MerchantQRCodePaymentRequestResponse_QPOS>