POST api/NoqoodyUser/GetPaymentURL
Request Information
URI Parameters
None.
Body Parameters
TransactionPaymentRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ChannelID | integer |
None. |
|
| Amount | decimal number |
Required |
|
| PlatForm | string |
None. |
|
| ServiceID | integer |
Required |
|
| OperatorID | integer |
None. |
|
| PaymentDescription | string |
Required |
|
| CardID | integer |
None. |
|
| servicecharge | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"ChannelID": 1,
"Amount": 2.0,
"PlatForm": "sample string 3",
"ServiceID": 4,
"OperatorID": 1,
"PaymentDescription": "sample string 5",
"CardID": 6,
"servicecharge": 7.0
}
application/xml, text/xml
Sample:
<NoqoodyUserModels.TransactionPaymentRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models"> <Amount>2</Amount> <CardID>6</CardID> <ChannelID>1</ChannelID> <OperatorID>1</OperatorID> <PaymentDescription>sample string 5</PaymentDescription> <PlatForm>sample string 3</PlatForm> <ServiceID>4</ServiceID> <servicecharge>7</servicecharge> </NoqoodyUserModels.TransactionPaymentRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetPaymentUrlResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentURL | Object |
None. |
|
| ValidationURL | string |
None. |
|
| TransactionReference | string |
None. |
|
| OoreooEnable | boolean |
None. |
|
| VodafoneEnable | boolean |
None. |
|
| success | boolean |
None. |
|
| code | string |
None. |
|
| message | string |
None. |
|
| errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"PaymentURL": {},
"ValidationURL": "sample string 2",
"TransactionReference": "sample string 3",
"OoreooEnable": true,
"VodafoneEnable": true,
"success": true,
"code": "sample string 7",
"message": "sample string 8",
"errors": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<NoqoodyUserModels.GetPaymentUrlResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">
<code>sample string 7</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 8</message>
<success>true</success>
<OoreooEnable>true</OoreooEnable>
<PaymentURL />
<TransactionReference>sample string 3</TransactionReference>
<ValidationURL>sample string 2</ValidationURL>
<VodafoneEnable>true</VodafoneEnable>
</NoqoodyUserModels.GetPaymentUrlResponseModel>