GET api/SystemSettings/ProcessTokenizedPayment?Amount={Amount}&card_id={card_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Amount

decimal number

Required

card_id

integer

Required

Body Parameters

None.

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>