POST api/NoqoodyUser/PaymentRequestViaDuetoPay
Request Information
URI Parameters
None.
Body Parameters
PaymentRequestViaDueToPay| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount | decimal number |
Required |
|
| PlatForm | string |
Required |
|
| QIDNo | string |
Required |
|
| ServiceNo | string |
Required |
|
| MobileNumber | string |
Required |
|
| PaymentMethodID | integer |
Required |
|
| Type | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Amount": 1.0,
"PlatForm": "sample string 2",
"QIDNo": "sample string 3",
"ServiceNo": "sample string 4",
"MobileNumber": "sample string 5",
"PaymentMethodID": 6,
"Type": "sample string 7"
}
application/xml, text/xml
Sample:
<NoqoodyUserModels.PaymentRequestViaDueToPay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models"> <Amount>1</Amount> <MobileNumber>sample string 5</MobileNumber> <PaymentMethodID>6</PaymentMethodID> <PlatForm>sample string 2</PlatForm> <QIDNo>sample string 3</QIDNo> <ServiceNo>sample string 4</ServiceNo> <Type>sample string 7</Type> </NoqoodyUserModels.PaymentRequestViaDueToPay>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentRequestViaDueToPayResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| RequestID | string |
None. |
|
| MobileNumber | string |
None. |
|
| QIDNo | string |
Matching regular expression pattern: ^(\d{11})$ |
|
| ServiceNo | string |
None. |
|
| Type | string |
None. |
|
| Amount | decimal number |
None. |
|
| success | boolean |
None. |
|
| code | string |
None. |
|
| message | string |
None. |
|
| errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"RequestID": "sample string 1",
"MobileNumber": "sample string 2",
"QIDNo": "sample string 3",
"ServiceNo": "sample string 4",
"Type": "sample string 5",
"Amount": 6.0,
"success": true,
"code": "sample string 8",
"message": "sample string 9",
"errors": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<NoqoodyUserModels.PaymentRequestViaDueToPayResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">
<code>sample string 8</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 9</message>
<success>true</success>
<Amount>6</Amount>
<MobileNumber>sample string 2</MobileNumber>
<QIDNo>sample string 3</QIDNo>
<RequestID>sample string 1</RequestID>
<ServiceNo>sample string 4</ServiceNo>
<Type>sample string 5</Type>
</NoqoodyUserModels.PaymentRequestViaDueToPayResponse>