Submit an order
POST {{baseUrl}}/v1/orders/{{orderId}}/submit
Submitting an Order transitions the status to processing
and creates a PaymentIntent object so the order can be paid. If the Order has an amount_total
of 0, no PaymentIntent object will be created. Once the order is submitted, its contents cannot be changed, unless the reopen method is called.
Request Body
[{"name"=>"expected_total", "value"=>"{{amountTotal}}", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Stripe-Version | string |