POST v2/GetStripeIntentForOrder

Request Information

URI Parameters

None.

Body Parameters

StripePaymentDto
NameDescriptionTypeAdditional information
PaymentGUID

globally unique identifier

None.

OrderGUID

globally unique identifier

None.

Amount

decimal number

None.

DateCreated

date

None.

PaymentMethod

string

None.

Token

string

None.

OrderNo

string

None.

TableId

integer

None.

Description

string

None.

ReservationId

integer

None.

ReservationCode

string

None.

FailureMessage

string

None.

ClientSecret

string

None.

TxCode

string

None.

PaymentId

string

None.

IsSuccess

boolean

None.

DeviceType

string

None.

CustomerId

integer

None.

IsTakeAway

boolean

None.

IsGiftVoucher

boolean

None.

Completed

boolean

None.

IsPaid

boolean

None.

IsPaidPromotion

boolean

None.

PromoCode

string

None.

MobileNo

string

None.

Email

string

None.

PromoCodesList

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "PaymentGUID": "8af5b8ab-1989-4188-a832-fb000b39a160",
  "OrderGUID": "19ed27e5-23b0-4859-9e56-3a6291ab3eb0",
  "Amount": 1.0,
  "DateCreated": "2025-10-25T12:07:09.9042622+01:00",
  "PaymentMethod": "sample string 4",
  "Token": "sample string 5",
  "OrderNo": "sample string 6",
  "TableId": 7,
  "Description": "sample string 8",
  "ReservationId": 9,
  "ReservationCode": "sample string 10",
  "FailureMessage": "sample string 11",
  "ClientSecret": "sample string 12",
  "TxCode": "sample string 13",
  "PaymentId": "sample string 14",
  "IsSuccess": true,
  "DeviceType": "sample string 16",
  "CustomerId": 17,
  "IsTakeAway": true,
  "IsGiftVoucher": true,
  "Completed": true,
  "IsPaid": true,
  "IsPaidPromotion": true,
  "PromoCode": "sample string 23",
  "MobileNo": "sample string 24",
  "Email": "sample string 25",
  "PromoCodesList": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<StripePaymentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TCB.Entity.Dtos">
  <Amount>1</Amount>
  <ClientSecret>sample string 12</ClientSecret>
  <Completed>true</Completed>
  <CustomerId>17</CustomerId>
  <DateCreated>2025-10-25T12:07:09.9042622+01:00</DateCreated>
  <Description>sample string 8</Description>
  <DeviceType>sample string 16</DeviceType>
  <Email>sample string 25</Email>
  <FailureMessage>sample string 11</FailureMessage>
  <IsGiftVoucher>true</IsGiftVoucher>
  <IsPaid>true</IsPaid>
  <IsPaidPromotion>true</IsPaidPromotion>
  <IsSuccess>true</IsSuccess>
  <IsTakeAway>true</IsTakeAway>
  <MobileNo>sample string 24</MobileNo>
  <OrderGUID>19ed27e5-23b0-4859-9e56-3a6291ab3eb0</OrderGUID>
  <OrderNo>sample string 6</OrderNo>
  <PaymentGUID>8af5b8ab-1989-4188-a832-fb000b39a160</PaymentGUID>
  <PaymentId>sample string 14</PaymentId>
  <PaymentMethod>sample string 4</PaymentMethod>
  <PromoCode>sample string 23</PromoCode>
  <PromoCodesList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </PromoCodesList>
  <ReservationCode>sample string 10</ReservationCode>
  <ReservationId>9</ReservationId>
  <TableId>7</TableId>
  <Token>sample string 5</Token>
  <TxCode>sample string 13</TxCode>
</StripePaymentDto>

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 'StripePaymentDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.