POST api/SystemSettings/ProcessTokenizedPayment_QR

Request Information

URI Parameters

None.

Body Parameters

TransferQRCodePaymentRequest_Tokenization
NameDescriptionTypeAdditional information
QrCodeData

string

Required

Amount

decimal number

None.

card_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "QrCodeData": "sample string 1",
  "Amount": 2.0,
  "card_id": 3
}

application/xml, text/xml

Sample:
<SystemSettingModels.TransferQRCodePaymentRequest_Tokenization xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">
  <Amount>2</Amount>
  <QrCodeData>sample string 1</QrCodeData>
  <card_id>3</card_id>
</SystemSettingModels.TransferQRCodePaymentRequest_Tokenization>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RefillProfileResponse
NameDescriptionTypeAdditional 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>