Orders
Check an order checkout before paying
Read-only. Reports whether the checkout session the page has mounted is still the current session of the order, with the total and credits on the order.
get/teams/{slug}/orders/{order_id}/checkout/state
Request
- Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
- URL: https://api.presscart.com/teams/{slug}/orders/{order_id}/checkout/state
- Auth: HTTP bearer
Path parameters
slugstring required
Example:team-a
order_idstring uuid required
Example:0b0f4d0e-5a51-4a0a-9a39-3a5a4c1f2b6d
Query parameters
session_idstring required
Example:cs_test_a1b2c3d4e5f6g7h8i9j0
Response
Checkout state
Example response
{
"session_id": "cs_test_a1b2c3d4e5f6g7h8i9j0",
"total": 721,
"credits_applied": 300
}Changes
No recorded changes to this operation across all 2 revisions of this API.