POST api/Payment/WebsitePaymentPaypal

Request Information

URI Parameters

None.

Body Parameters

PaymentModel
NameDescriptionTypeAdditional information
CustID

integer

None.

UserType

integer

None.

CourseID

integer

None.

CertTypeID

integer

None.

BrandID

integer

None.

FirstName

string

None.

LastName

string

None.

Card

string

None.

CardType

string

None.

CardName

string

None.

Month

string

None.

Year

string

None.

CVV

string

None.

EmailID

string

None.

Password

string

None.

Amount

decimal number

None.

ChargeAmount

decimal number

None.

SubscriptionAmount

integer

None.

Currency

string

None.

ChargeDescription

string

None.

CustomerDescription

string

None.

BillingAddress

string

None.

City

string

None.

State

string

None.

Country

string

None.

CountryCode

string

None.

CountryID

integer

None.

ZipCode

string

None.

TestPayment

boolean

None.

PaymentFor

integer

None.

PaymentGateway

string

None.

TrailDays

integer

None.

PaymentResponse

PaymentResponse

None.

LanguageID

integer

None.

ClassDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CustID": 1,
  "UserType": 2,
  "CourseID": 3,
  "CertTypeID": 4,
  "BrandID": 5,
  "FirstName": "sample string 6",
  "LastName": "sample string 7",
  "Card": "sample string 8",
  "CardType": "sample string 9",
  "CardName": "sample string 10",
  "Month": "sample string 11",
  "Year": "sample string 12",
  "CVV": "sample string 13",
  "EmailID": "sample string 14",
  "Password": "sample string 15",
  "Amount": 16.1,
  "ChargeAmount": 17.1,
  "SubscriptionAmount": 18,
  "Currency": "sample string 19",
  "ChargeDescription": "sample string 20",
  "CustomerDescription": "sample string 21",
  "BillingAddress": "sample string 22",
  "City": "sample string 23",
  "State": "sample string 24",
  "Country": "sample string 25",
  "CountryCode": "sample string 26",
  "CountryID": 27,
  "ZipCode": "sample string 28",
  "TestPayment": true,
  "PaymentFor": 30,
  "PaymentGateway": "sample string 31",
  "TrailDays": 32,
  "PaymentResponse": {
    "TransactionID": "sample string 1",
    "PPTransactionID": "sample string 2",
    "ProfileID": "sample string 3",
    "SubscriptionID": "sample string 4",
    "AmountPaid": 5.1,
    "Status": 6,
    "RecurringStatus": "sample string 7",
    "SubscriptionStartDate": "2025-05-24T14:34:52.2555856+05:30",
    "SubscriptionEndDate": "2025-05-24T14:34:52.2555856+05:30",
    "Password": "sample string 10",
    "ResponseMessage": "sample string 11",
    "UserType": 12
  },
  "LanguageID": 33,
  "ClassDate": "2025-05-24T14:34:52.2555856+05:30"
}

application/xml, text/xml

Sample:
<PaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VMEduWebAPI2.Models">
  <Amount>16.1</Amount>
  <BillingAddress>sample string 22</BillingAddress>
  <BrandID>5</BrandID>
  <CVV>sample string 13</CVV>
  <Card>sample string 8</Card>
  <CardName>sample string 10</CardName>
  <CardType>sample string 9</CardType>
  <CertTypeID>4</CertTypeID>
  <ChargeAmount>17.1</ChargeAmount>
  <ChargeDescription>sample string 20</ChargeDescription>
  <City>sample string 23</City>
  <ClassDate>2025-05-24T14:34:52.2555856+05:30</ClassDate>
  <Country>sample string 25</Country>
  <CountryCode>sample string 26</CountryCode>
  <CountryID>27</CountryID>
  <CourseID>3</CourseID>
  <Currency>sample string 19</Currency>
  <CustID>1</CustID>
  <CustomerDescription>sample string 21</CustomerDescription>
  <EmailID>sample string 14</EmailID>
  <FirstName>sample string 6</FirstName>
  <LanguageID>33</LanguageID>
  <LastName>sample string 7</LastName>
  <Month>sample string 11</Month>
  <Password>sample string 15</Password>
  <PaymentFor>30</PaymentFor>
  <PaymentGateway>sample string 31</PaymentGateway>
  <PaymentResponse>
    <AmountPaid>5.1</AmountPaid>
    <PPTransactionID>sample string 2</PPTransactionID>
    <Password>sample string 10</Password>
    <ProfileID>sample string 3</ProfileID>
    <RecurringStatus>sample string 7</RecurringStatus>
    <ResponseMessage>sample string 11</ResponseMessage>
    <Status>6</Status>
    <SubscriptionEndDate>2025-05-24T14:34:52.2555856+05:30</SubscriptionEndDate>
    <SubscriptionID>sample string 4</SubscriptionID>
    <SubscriptionStartDate>2025-05-24T14:34:52.2555856+05:30</SubscriptionStartDate>
    <TransactionID>sample string 1</TransactionID>
    <UserType>12</UserType>
  </PaymentResponse>
  <State>sample string 24</State>
  <SubscriptionAmount>18</SubscriptionAmount>
  <TestPayment>true</TestPayment>
  <TrailDays>32</TrailDays>
  <UserType>2</UserType>
  <Year>sample string 12</Year>
  <ZipCode>sample string 28</ZipCode>
</PaymentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.