BokaMera.API.Host

<back to all web services

StripeWebhook

The following routes are available for this service:
POST/payment/stripe/v1/webhookWebhook for Stripe checkout 1.0Webhook for Stripe checkout 1.0
StripeWebhook Parameters:
NameParameterData TypeRequiredDescription
RawBodybodystringNo
HeadersbodyIDictionary<string, string>No
Event Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
ObjectformstringNo
AccountformstringNo
ApiVersionformstringNo
CreatedformDateTimeNo
DataformEventDataNo
LivemodeformboolNo
PendingWebhooksformlongNo
RequestformEventRequestNo
TypeformstringNo
EventData Parameters:
NameParameterData TypeRequiredDescription
ObjectformIHasObjectNo
PreviousAttributesformObjectNo
IHasObject Parameters:
NameParameterData TypeRequiredDescription
ObjectformstringNo
EventRequest Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
IdempotencyKeyformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /payment/stripe/v1/webhook HTTP/1.1 
Host: testapi.bokamera.se 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'StripeWebhook' using the custom 'csv' filter}Exception has been thrown by the target of an invocation.
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{}