POST | /payment/stripe/v1/checkout/status | Create an checkout for Booking. Note if existing checkouts already exists, i will invalidate those. | Create Stripe checkout (requires settings for Stripe Checkout 1.0) |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CompanyId | body | Guid? | Yes | The company id. |
SessionId | body | string | Yes | Session id for the checkout |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomerEmail | form | string | No | The customer email for checkout |
Status | form | string | No | The checkout status |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /payment/stripe/v1/checkout/status HTTP/1.1
Host: api.bookmore.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"CompanyId":"00000000-0000-0000-0000-000000000000","SessionId":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"CustomerEmail":"String","Status":"String"}