POST api/Payment?key={key}&salt={salt}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

string

Required

salt

string

Required

Body Parameters

PaymentEasebuzzRequest
NameDescriptionTypeAdditional information
TxnId

string

None.

Amount

decimal number

None.

CustomerName

string

None.

CustomerMobile

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TxnId": "sample string 1",
  "Amount": 2.0,
  "CustomerName": "sample string 3",
  "CustomerMobile": "sample string 4"
}

application/xml, text/xml

Sample:
<PaymentEasebuzzRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models">
  <Amount>2</Amount>
  <CustomerMobile>sample string 4</CustomerMobile>
  <CustomerName>sample string 3</CustomerName>
  <TxnId>sample string 1</TxnId>
</PaymentEasebuzzRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

EasebuzzQrResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

OrderId

string

None.

QrImage

string

None.

QrString

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "OrderId": "sample string 2",
  "QrImage": "sample string 3",
  "QrString": "sample string 4",
  "Message": "sample string 5"
}

application/xml, text/xml

Sample:
<EasebuzzQrResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaTempleKioskApi.Models">
  <Message>sample string 5</Message>
  <OrderId>sample string 2</OrderId>
  <QrImage>sample string 3</QrImage>
  <QrString>sample string 4</QrString>
  <Status>true</Status>
</EasebuzzQrResponse>