PUT api/Payment/getcheckoutpaymentlink

Request Information

URI Parameters

None.

Body Parameters

APICheckOutPaymentRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

UserUniqueId

integer

None.

UniqueId

globally unique identifier

None.

RewardId

integer

None.

PassInfo

Collection of PassInfoDetails

None.

LanguageId

integer

None.

Quantity

integer

None.

PaymentGatewayId

integer

None.

FirstName

string

None.

LastName

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

State

string

None.

Zipcode

string

None.

Country

string

None.

Email

string

None.

PaymentModule

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "UserUniqueId": 2,
  "UniqueId": "b6c5e22e-b2c3-4f30-97da-05c281041645",
  "RewardId": 4,
  "PassInfo": [
    {
      "PassId": 1,
      "Qty": 2
    },
    {
      "PassId": 1,
      "Qty": 2
    }
  ],
  "LanguageId": 5,
  "Quantity": 6,
  "PaymentGatewayId": 7,
  "FirstName": "sample string 8",
  "LastName": "sample string 9",
  "Address1": "sample string 10",
  "Address2": "sample string 11",
  "City": "sample string 12",
  "State": "sample string 13",
  "Zipcode": "sample string 14",
  "Country": "sample string 15",
  "Email": "sample string 16",
  "PaymentModule": 17
}

application/xml, text/xml

Sample:
<APICheckOutPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <Address1>sample string 10</Address1>
  <Address2>sample string 11</Address2>
  <City>sample string 12</City>
  <Country>sample string 15</Country>
  <CustomerId>1</CustomerId>
  <Email>sample string 16</Email>
  <FirstName>sample string 8</FirstName>
  <LanguageId>5</LanguageId>
  <LastName>sample string 9</LastName>
  <PassInfo>
    <PassInfoDetails>
      <PassId>1</PassId>
      <Qty>2</Qty>
    </PassInfoDetails>
    <PassInfoDetails>
      <PassId>1</PassId>
      <Qty>2</Qty>
    </PassInfoDetails>
  </PassInfo>
  <PaymentGatewayId>7</PaymentGatewayId>
  <PaymentModule>17</PaymentModule>
  <Quantity>6</Quantity>
  <RewardId>4</RewardId>
  <State>sample string 13</State>
  <UniqueId>b6c5e22e-b2c3-4f30-97da-05c281041645</UniqueId>
  <UserUniqueId>2</UserUniqueId>
  <Zipcode>sample string 14</Zipcode>
</APICheckOutPaymentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APICommonWrapperOfAPICheckOutPaymentResponse
NameDescriptionTypeAdditional information
Status

HttpStatusCode

None.

Message

string

None.

Data

APICheckOutPaymentResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 100,
  "Message": "sample string 1",
  "Data": {
    "PaymentId": "sample string 1",
    "PaymentLinkId": "sample string 2",
    "CheckOutUrl": "sample string 3",
    "OrderId": "sample string 4",
    "CreatedDate": "2026-04-17T11:39:55.6018083+00:00",
    "RewardAmount": 6.0,
    "RewardCurrency": "sample string 7",
    "PaymentStatus": "sample string 8",
    "RedirectUrl": "sample string 9",
    "PaymentMessage": "sample string 10"
  }
}

application/xml, text/xml

Sample:
<APICommonWrapperOfAPICheckOutPaymentResponseMTRdQN6P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
    <d2p1:CheckOutUrl>sample string 3</d2p1:CheckOutUrl>
    <d2p1:CreatedDate>2026-04-17T11:39:55.6018083+00:00</d2p1:CreatedDate>
    <d2p1:OrderId>sample string 4</d2p1:OrderId>
    <d2p1:PaymentId>sample string 1</d2p1:PaymentId>
    <d2p1:PaymentLinkId>sample string 2</d2p1:PaymentLinkId>
    <d2p1:PaymentMessage>sample string 10</d2p1:PaymentMessage>
    <d2p1:PaymentStatus>sample string 8</d2p1:PaymentStatus>
    <d2p1:RedirectUrl>sample string 9</d2p1:RedirectUrl>
    <d2p1:RewardAmount>6</d2p1:RewardAmount>
    <d2p1:RewardCurrency>sample string 7</d2p1:RewardCurrency>
  </Data>
  <Message>sample string 1</Message>
  <Status>Continue</Status>
</APICommonWrapperOfAPICheckOutPaymentResponseMTRdQN6P>