POST api/SystemSettings/ProcessTokenizedPaymentviaServices
Request Information
URI Parameters
None.
Body Parameters
PaymentRequestviaServices| Name | Description | Type | Additional information |
|---|---|---|---|
| Amount | decimal number |
None. |
|
| ChannelID | integer |
None. |
|
| ServiceID | integer |
None. |
|
| IsPlatformApplePay | boolean |
None. |
|
| IsBillPayment | boolean |
None. |
|
| IsQparkingPayment | boolean |
None. |
|
| IsTopUpPayment | boolean |
None. |
|
| IsGiftCardPayment | boolean |
None. |
|
| IsMetroCardPayment | boolean |
None. |
|
| IsCharityPayment | boolean |
None. |
|
| BillPaymentData | BillPaymentData |
None. |
|
| QparkingData | ParkingTicketQatarPayRequest |
None. |
|
| TopUpData | ReserveRequest |
None. |
|
| GiftCardData | GiftCardRequestOnline |
None. |
|
| MetroCardData | RefillRequestModel |
None. |
|
| CharityData | NoqsTransferRequestViaCharityEmail |
None. |
|
| IsShared | boolean |
None. |
|
| IsTokenized | boolean |
None. |
|
| TokenizedData | PaymentRequestViaServicesTokenized |
None. |
|
| QRCodeData | string |
None. |
Request Formats
application/json, text/json, application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RefillProfileResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| service_charge | decimal number |
None. |
|
| BaseAmount | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| ValidationURL | string |
None. |
|
| PaymentLink | string |
None. |
|
| IsPhoneNumberVerified | boolean |
None. |
|
| ReferenceNo | string |
None. |
|
| success | boolean |
None. |
|
| code | string |
None. |
|
| message | string |
None. |
|
| errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"service_charge": 1.0,
"BaseAmount": 2.0,
"TotalAmount": 3.0,
"ValidationURL": "sample string 4",
"PaymentLink": "sample string 5",
"IsPhoneNumberVerified": true,
"ReferenceNo": "sample string 7",
"success": true,
"code": "sample string 9",
"message": "sample string 10",
"errors": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<RefillProfileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models.SystemSettings">
<code xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">sample string 9</code>
<errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</errors>
<message xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">sample string 10</message>
<success xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">true</success>
<BaseAmount>2</BaseAmount>
<IsPhoneNumberVerified>true</IsPhoneNumberVerified>
<PaymentLink>sample string 5</PaymentLink>
<ReferenceNo>sample string 7</ReferenceNo>
<TotalAmount>3</TotalAmount>
<ValidationURL>sample string 4</ValidationURL>
<service_charge>1</service_charge>
</RefillProfileResponse>