POST api/liqpaycallback

Request Information

URI Parameters

None.

Body Parameters

LiqPayCallback
NameDescriptionTypeAdditional information
data

string

None.

signature

string

None.

Request Formats

application/json, text/json

Sample:
{
  "data": "sample string 1",
  "signature": "sample string 2"
}

application/xml, text/xml

Sample:
<LiqPayCallback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <data>sample string 1</data>
  <signature>sample string 2</signature>
</LiqPayCallback>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LiqPayCallback'.

Response Information

Resource Description

ProgramPaymentSuccessModel
NameDescriptionTypeAdditional information
UserID

integer

None.

ProgramID

integer

None.

OrderID

integer

None.

ProgramName

string

None.

ProgramDescription

string

None.

ProgramStartUrl

string

None.

PaymentAmount

decimal number

None.

PaymentPercent

integer

None.

PaymentID

integer

None.

ProgramStartDate

date

None.

Currency

string

None.

PaySystem

string

None.

TransactionNo

string

None.

IsPaymentComplete

boolean

None.

IsProgramOpened

boolean

None.

Error

boolean

None.

ErrorMessage

string

None.

UserMessage

string

None.

NewUser

boolean

None.

PaypalButtonID

string

None.

SandboxPaypalButtonID

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

Phone

string

None.

FriendFirstName

string

None.

FriendLastName

string

None.

FriendEmail

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "ProgramID": 1,
  "OrderID": 1,
  "ProgramName": "sample string 2",
  "ProgramDescription": "sample string 3",
  "ProgramStartUrl": "sample string 4",
  "PaymentAmount": 5.0,
  "PaymentPercent": 6,
  "PaymentID": 7,
  "ProgramStartDate": "2021-04-19T21:24:34.3783763-04:00",
  "Currency": "sample string 8",
  "PaySystem": "sample string 9",
  "TransactionNo": "sample string 10",
  "IsPaymentComplete": true,
  "IsProgramOpened": true,
  "Error": true,
  "ErrorMessage": "sample string 14",
  "UserMessage": "sample string 15",
  "NewUser": true,
  "PaypalButtonID": "sample string 17",
  "SandboxPaypalButtonID": "sample string 18",
  "FirstName": "sample string 19",
  "LastName": "sample string 20",
  "Email": "sample string 21",
  "Phone": "sample string 22",
  "FriendFirstName": "sample string 23",
  "FriendLastName": "sample string 24",
  "FriendEmail": "sample string 25"
}

application/xml, text/xml

Sample:
<ProgramPaymentSuccessModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <Currency>sample string 8</Currency>
  <Email>sample string 21</Email>
  <Error>true</Error>
  <ErrorMessage>sample string 14</ErrorMessage>
  <FirstName>sample string 19</FirstName>
  <FriendEmail>sample string 25</FriendEmail>
  <FriendFirstName>sample string 23</FriendFirstName>
  <FriendLastName>sample string 24</FriendLastName>
  <IsPaymentComplete>true</IsPaymentComplete>
  <IsProgramOpened>true</IsProgramOpened>
  <LastName>sample string 20</LastName>
  <NewUser>true</NewUser>
  <OrderID>1</OrderID>
  <PaySystem>sample string 9</PaySystem>
  <PaymentAmount>5</PaymentAmount>
  <PaymentID>7</PaymentID>
  <PaymentPercent>6</PaymentPercent>
  <PaypalButtonID>sample string 17</PaypalButtonID>
  <Phone>sample string 22</Phone>
  <ProgramDescription>sample string 3</ProgramDescription>
  <ProgramID>1</ProgramID>
  <ProgramName>sample string 2</ProgramName>
  <ProgramStartDate>2021-04-19T21:24:34.3783763-04:00</ProgramStartDate>
  <ProgramStartUrl>sample string 4</ProgramStartUrl>
  <SandboxPaypalButtonID>sample string 18</SandboxPaypalButtonID>
  <TransactionNo>sample string 10</TransactionNo>
  <UserID>1</UserID>
  <UserMessage>sample string 15</UserMessage>
</ProgramPaymentSuccessModel>