List payment sessions for linked accounts
LogsGET /payment-sessions
Pages the checkout sessions the caller started, across their tenants unless X-Tenant-ID selects one, with each session's status (for example pending, confirmed or failed). Pagination uses limit and after.
Parameters
limitMaximum resources to return (default 20, maximum 100).
afterOpaque cursor returned by the previous page.
Returns
200 Payment sessions visible to the authenticated consumer
curl -X GET "$CONSUMER_API/payment-sessions" \
-H "Authorization: Bearer sk_test_..."
# No matching CLI command; use cURL or direct HTTP.
const res = await fetch("$CONSUMER_API/payment-sessions", {
method: "GET",
headers: {
Authorization: "Bearer sk_test_..."
}
});
const data = await res.json();
import requests
res = requests.get(
"$CONSUMER_API/payment-sessions",
headers={
"Authorization": "Bearer sk_test_..."
}
)
data = res.json()
req, _ := http.NewRequest("GET", "$CONSUMER_API/payment-sessions", nil)
req.Header.Set("Authorization", "Bearer sk_test_...")
resp, err := http.DefaultClient.Do(req)
Payment sessions visible to the authenticated consumer