POST api/Cart/TestingCheckoutSalesOrder

Documentation for 'TestingCheckoutSalesOrder'.

Request Information

Parameters

NameDescriptionAdditional information
req
Documentation for 'req'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "PublicKey": "sample string 1",
  "Signature": "sample string 2",
  "ShoppingCartID": "sample string 3",
  "TimeStamp": "2026-06-06T04:23:32.1565567+07:00",
  "TransactionCode": "sample string 5",
  "TotalAmount": 6.0,
  "SalesOrderNo": "sample string 7",
  "PaymentTypeCode": "sample string 8",
  "PaymentAdminFee": 9.0,
  "AdminFee": [
    {
      "$id": "2",
      "No": 1,
      "MinPaymentLayer": "sample string 2",
      "RpPaymentLayer": "sample string 3",
      "PercentPaymentLayer": "sample string 4"
    },
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ],
  "paymentAccountID": "sample string 10",
  "Longitude": "sample string 11",
  "Latitude": "sample string 12",
  "Source": "sample string 13",
  "PartialPayment": {
    "$id": "3",
    "TransactionPartialCode": "sample string 1",
    "TransactionPartialAmount": 2.0
  },
  "DeviceID": "sample string 14"
}

application/xml, text/xml

Sample:
<RequestValidatePayment xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PublicKey>sample string 1</PublicKey>
  <Signature>sample string 2</Signature>
  <ShoppingCartID>sample string 3</ShoppingCartID>
  <TimeStamp>2026-06-06T04:23:32.1565567+07:00</TimeStamp>
  <TransactionCode>sample string 5</TransactionCode>
  <TotalAmount>6</TotalAmount>
  <SalesOrderNo>sample string 7</SalesOrderNo>
  <PaymentTypeCode>sample string 8</PaymentTypeCode>
  <PaymentAdminFee>9</PaymentAdminFee>
  <AdminFee>
    <AdminFee>
      <No>1</No>
      <MinPaymentLayer>sample string 2</MinPaymentLayer>
      <RpPaymentLayer>sample string 3</RpPaymentLayer>
      <PercentPaymentLayer>sample string 4</PercentPaymentLayer>
    </AdminFee>
    <AdminFee>
      <No>1</No>
      <MinPaymentLayer>sample string 2</MinPaymentLayer>
      <RpPaymentLayer>sample string 3</RpPaymentLayer>
      <PercentPaymentLayer>sample string 4</PercentPaymentLayer>
    </AdminFee>
    <AdminFee>
      <No>1</No>
      <MinPaymentLayer>sample string 2</MinPaymentLayer>
      <RpPaymentLayer>sample string 3</RpPaymentLayer>
      <PercentPaymentLayer>sample string 4</PercentPaymentLayer>
    </AdminFee>
  </AdminFee>
  <paymentAccountID>sample string 10</paymentAccountID>
  <Longitude>sample string 11</Longitude>
  <Latitude>sample string 12</Latitude>
  <Source>sample string 13</Source>
  <PartialPayment>
    <TransactionPartialCode>sample string 1</TransactionPartialCode>
    <TransactionPartialAmount>2</TransactionPartialAmount>
  </PartialPayment>
  <DeviceID>sample string 14</DeviceID>
</RequestValidatePayment>