POST api/DueToPayPayment/UpdatePaymentRequestViaPhoneBill
Request Information
URI Parameters
None.
Body Parameters
UpdatePaymentRequestViaPhoneBill| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentRequest | Collection of PaymentRequestDetails |
Required |
Request Formats
application/json, text/json
Sample:
{
"PaymentRequest": [
{
"PaymentRequestID": "sample string 1",
"OperatorID": 2,
"GroupID": 3,
"Number": "sample string 4",
"IsFullAmount": true,
"IsRecurringPayment": true,
"IsPartialAmount": true,
"Amount": 8.0,
"PlatForm": "sample string 9",
"ScheduledDate": "sample string 10"
},
{
"PaymentRequestID": "sample string 1",
"OperatorID": 2,
"GroupID": 3,
"Number": "sample string 4",
"IsFullAmount": true,
"IsRecurringPayment": true,
"IsPartialAmount": true,
"Amount": 8.0,
"PlatForm": "sample string 9",
"ScheduledDate": "sample string 10"
}
]
}
application/xml, text/xml
Sample:
<DueToPayModel.UpdatePaymentRequestViaPhoneBill xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">
<PaymentRequest>
<DueToPayModel.PaymentRequestDetails>
<Amount>8</Amount>
<GroupID>3</GroupID>
<IsFullAmount>true</IsFullAmount>
<IsPartialAmount>true</IsPartialAmount>
<IsRecurringPayment>true</IsRecurringPayment>
<Number>sample string 4</Number>
<OperatorID>2</OperatorID>
<PaymentRequestID>sample string 1</PaymentRequestID>
<PlatForm>sample string 9</PlatForm>
<ScheduledDate>sample string 10</ScheduledDate>
</DueToPayModel.PaymentRequestDetails>
<DueToPayModel.PaymentRequestDetails>
<Amount>8</Amount>
<GroupID>3</GroupID>
<IsFullAmount>true</IsFullAmount>
<IsPartialAmount>true</IsPartialAmount>
<IsRecurringPayment>true</IsRecurringPayment>
<Number>sample string 4</Number>
<OperatorID>2</OperatorID>
<PaymentRequestID>sample string 1</PaymentRequestID>
<PlatForm>sample string 9</PlatForm>
<ScheduledDate>sample string 10</ScheduledDate>
</DueToPayModel.PaymentRequestDetails>
</PaymentRequest>
</DueToPayModel.UpdatePaymentRequestViaPhoneBill>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentRequestViaPhoneBillResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessToken | string |
None. |
|
| Details | Collection of string |
None. |
|
| VerificationID | string |
None. |
|
| RequestID | Collection of string |
None. |
|
| RemainingAmount | decimal number |
None. |
|
| BankingCharge | decimal number |
None. |
|
| ServiceCharge | decimal number |
None. |
|
| IsShared | boolean |
None. |
|
| success | boolean |
None. |
|
| code | string |
None. |
|
| message | string |
None. |
|
| errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccessToken": "sample string 1",
"Details": [
"sample string 1",
"sample string 2"
],
"VerificationID": "sample string 2",
"RequestID": [
"sample string 1",
"sample string 2"
],
"RemainingAmount": 3.0,
"BankingCharge": 4.0,
"ServiceCharge": 5.0,
"IsShared": true,
"success": true,
"code": "sample string 8",
"message": "sample string 9",
"errors": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<DueToPayModel.PaymentRequestViaPhoneBillResponse 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>
<AccessToken>sample string 1</AccessToken>
<BankingCharge>4</BankingCharge>
<Details xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Details>
<IsShared>true</IsShared>
<RemainingAmount>3</RemainingAmount>
<RequestID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</RequestID>
<ServiceCharge>5</ServiceCharge>
<VerificationID>sample string 2</VerificationID>
</DueToPayModel.PaymentRequestViaPhoneBillResponse>