POST v{version}/{lang}/stripe/paymentIntent?currency={currency}&wp={wp}
Creates payment intent for stripe payment
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
PaymentIntentRequestName | Description | Type | Additional information |
---|---|---|---|
PaymentProvider | string |
None. |
|
CustomerEmail | string |
None. |
|
AcceptsMarketing | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "PaymentProvider": "sample string 1", "CustomerEmail": "sample string 2", "AcceptsMarketing": true }
application/xml, text/xml
Sample:
<PaymentIntentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Core.Models.Payment"> <AcceptsMarketing>true</AcceptsMarketing> <CustomerEmail>sample string 2</CustomerEmail> <PaymentProvider>sample string 1</PaymentProvider> </PaymentIntentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.