Get UCP Checkout Session
curl --request GET \
--url https://omnicommerce.sg/ucp/v1/checkout-sessions/{sessionId} \
--header 'Authorization: Bearer <token>' \
--header 'UCP-Agent: <ucp-agent>'const options = {
method: 'GET',
headers: {'UCP-Agent': '<ucp-agent>', Authorization: 'Bearer <token>'}
};
fetch('https://omnicommerce.sg/ucp/v1/checkout-sessions/{sessionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/ucp/v1/checkout-sessions/{sessionId}"
headers = {
"UCP-Agent": "<ucp-agent>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"ucp": {},
"id": "<string>",
"line_items": [
{
"item": {
"id": "<string>",
"title": "<string>",
"price": 123,
"image_url": "<string>"
},
"quantity": 500
}
],
"status": "ready_for_complete",
"currency": "<string>",
"totals": [
{}
],
"buyer": {},
"fulfillment": {},
"payment": {},
"order": {},
"settlement": {}
}UCP
Get UCP Checkout Session
Fetch the current UCP checkout resource for a native agentic checkout session. Requires UCP-Agent and bearer authentication.
GET
/
ucp
/
v1
/
checkout-sessions
/
{sessionId}
Get UCP Checkout Session
curl --request GET \
--url https://omnicommerce.sg/ucp/v1/checkout-sessions/{sessionId} \
--header 'Authorization: Bearer <token>' \
--header 'UCP-Agent: <ucp-agent>'const options = {
method: 'GET',
headers: {'UCP-Agent': '<ucp-agent>', Authorization: 'Bearer <token>'}
};
fetch('https://omnicommerce.sg/ucp/v1/checkout-sessions/{sessionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/ucp/v1/checkout-sessions/{sessionId}"
headers = {
"UCP-Agent": "<ucp-agent>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"ucp": {},
"id": "<string>",
"line_items": [
{
"item": {
"id": "<string>",
"title": "<string>",
"price": 123,
"image_url": "<string>"
},
"quantity": 500
}
],
"status": "ready_for_complete",
"currency": "<string>",
"totals": [
{}
],
"buyer": {},
"fulfillment": {},
"payment": {},
"order": {},
"settlement": {}
}Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Headers
UCP agent identity, for example agent.example/1.0.
Maximum string length:
240Path Parameters
Query Parameters
Optional organization scope for session-authenticated calls. OAuth client credentials resolve the organization from the token.
Maximum string length:
120Response
UCP checkout session found.