POST api/DueToPayPayment/UpdatePaymentRequestViaQatarCool
Request Information
URI Parameters
None.
Body Parameters
UpdatePaymentRequestViaBillName | Description | Type | Additional information |
---|---|---|---|
PaymentRequest | Collection of PaymentRequestDetailsViaBill |
Required |
Request Formats
application/json, text/json
Sample:
{ "PaymentRequest": [ { "PaymentRequestID": "sample string 1", "GroupID": 2, "Number": "sample string 3", "IsFullAmount": true, "IsRecurringPayment": true, "IsPartialAmount": true, "Amount": 7.0, "PlatForm": "sample string 8", "ScheduledDate": "sample string 9" }, { "PaymentRequestID": "sample string 1", "GroupID": 2, "Number": "sample string 3", "IsFullAmount": true, "IsRecurringPayment": true, "IsPartialAmount": true, "Amount": 7.0, "PlatForm": "sample string 8", "ScheduledDate": "sample string 9" } ] }
application/xml, text/xml
Sample:
<DueToPayModel.UpdatePaymentRequestViaBill xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models"> <PaymentRequest> <DueToPayModel.PaymentRequestDetailsViaBill> <Amount>7</Amount> <GroupID>2</GroupID> <IsFullAmount>true</IsFullAmount> <IsPartialAmount>true</IsPartialAmount> <IsRecurringPayment>true</IsRecurringPayment> <Number>sample string 3</Number> <PaymentRequestID>sample string 1</PaymentRequestID> <PlatForm>sample string 8</PlatForm> <ScheduledDate>sample string 9</ScheduledDate> </DueToPayModel.PaymentRequestDetailsViaBill> <DueToPayModel.PaymentRequestDetailsViaBill> <Amount>7</Amount> <GroupID>2</GroupID> <IsFullAmount>true</IsFullAmount> <IsPartialAmount>true</IsPartialAmount> <IsRecurringPayment>true</IsRecurringPayment> <Number>sample string 3</Number> <PaymentRequestID>sample string 1</PaymentRequestID> <PlatForm>sample string 8</PlatForm> <ScheduledDate>sample string 9</ScheduledDate> </DueToPayModel.PaymentRequestDetailsViaBill> </PaymentRequest> </DueToPayModel.UpdatePaymentRequestViaBill>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentRequestViaPhoneBillResponseName | 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>