POST v{version}/{lang}/stripe?currency={currency}&wp={wp}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| lang | string |
Required |
|
| currency | string |
Default value is ISK |
|
| wp | string |
Default value is GG |
|
| version |
The requested API version |
string |
Required Default value is 1.0 |
Body Parameters
StripeSubmitRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
None. |
|
| DepositPayment | boolean |
None. |
|
| RequestUri | string |
None. |
|
| PaymentProvider | string |
None. |
|
| AcceptsMarketing | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Token": "sample string 1",
"DepositPayment": true,
"RequestUri": "sample string 3",
"PaymentProvider": "sample string 4",
"AcceptsMarketing": true
}
application/xml, text/xml
Sample:
<StripeSubmitRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Core.Models.Payment"> <AcceptsMarketing>true</AcceptsMarketing> <DepositPayment>true</DepositPayment> <PaymentProvider>sample string 4</PaymentProvider> <RequestUri>sample string 3</RequestUri> <Token>sample string 1</Token> </StripeSubmitRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ConfirmPaymentResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | PaymentResultStatus |
None. |
|
| Message | string |
None. |
|
| FailedToMakeBookingAutomatically | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 0,
"Message": "sample string 1",
"FailedToMakeBookingAutomatically": true
}
application/xml, text/xml
Sample:
<ConfirmPaymentResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Core.Models.Payment"> <FailedToMakeBookingAutomatically>true</FailedToMakeBookingAutomatically> <Message>sample string 1</Message> <Status>ERROR</Status> </ConfirmPaymentResult>