POST v{version}/{lang}/stripe/confirmBooking

Confirms customer booking

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

The requested API version

string

Required

Default value is 1.0

lang

string

None.

Body Parameters

ConfirmPayment
NameDescriptionTypeAdditional information
bookingId

string

None.

amount

decimal number

None.

currency

string

None.

amountPaid

decimal number

None.

currencyPaid

string

None.

website

string

None.

sessionId

string

None.

lang

string

None.

tradeStatus

string

None.

amountISK

decimal number

None.

tradeNo

string

None.

cardNumber

string

None.

pass

string

None.

paymentProvider

string

None.

requestUri

string

None.

adyenPspReference

string

None.

Request Formats

application/json, text/json

Sample:
{
  "bookingId": "sample string 1",
  "amount": 2.0,
  "currency": "sample string 3",
  "amountPaid": 4.0,
  "currencyPaid": "sample string 5",
  "website": "sample string 6",
  "sessionId": "sample string 7",
  "lang": "sample string 8",
  "tradeStatus": "sample string 9",
  "amountISK": 10.0,
  "tradeNo": "sample string 11",
  "cardNumber": "sample string 12",
  "pass": "sample string 13",
  "paymentProvider": "sample string 14",
  "requestUri": "sample string 15",
  "adyenPspReference": "sample string 16"
}

application/xml, text/xml

Sample:
<ConfirmPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Core.Models.Payment">
  <adyenPspReference>sample string 16</adyenPspReference>
  <amount>2</amount>
  <amountISK>10</amountISK>
  <amountPaid>4</amountPaid>
  <bookingId>sample string 1</bookingId>
  <cardNumber>sample string 12</cardNumber>
  <currency>sample string 3</currency>
  <currencyPaid>sample string 5</currencyPaid>
  <lang>sample string 8</lang>
  <pass>sample string 13</pass>
  <paymentProvider>sample string 14</paymentProvider>
  <requestUri>sample string 15</requestUri>
  <sessionId>sample string 7</sessionId>
  <tradeNo>sample string 11</tradeNo>
  <tradeStatus>sample string 9</tradeStatus>
  <website>sample string 6</website>
</ConfirmPayment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StripeConfirmResult
NameDescriptionTypeAdditional information
Status

ConfirmPaymentResultStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 0,
  "Message": "sample string 1"
}

application/xml, text/xml

Sample:
<StripeConfirmResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Core.Models.Payment">
  <Message>sample string 1</Message>
  <Status>NOT_FOUND</Status>
</StripeConfirmResult>