Recover an existing checkout link
const url = 'https://secure.ethicsportal.eu/organizations/example/subscriptions/checkout.json?interval=month';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://secure.ethicsportal.eu/organizations/example/subscriptions/checkout.json?interval=month' \ --header 'Authorization: Bearer <token>'Read Stripe to find an open, unexpired subscription checkout for this organisation and the selected current plan. This works after reconnecting or switching assistants, including sessions created before this tool existed. Does not create a session or charge anything. Requires billing:write because the returned link grants access to the checkout. A personal token also needs its user to be a current administrator. A null checkout means there is no reusable link; check billing status before creating one. Provider failures are errors, never treated as an absent checkout.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Obfuscated organisation ID returned by identity.
Query Parameters
Section titled “Query Parameters”The plan to resume.
Responses
Section titled “Responses”The current checkout link, or null when no matching open unexpired session exists or the organisation is already subscribed.
object
object
Stripe-hosted page. Give it to the person who pays or manages billing; it works for whoever holds it until it expires.
When the link stops working. Null for billing portal links, which expire shortly after creation; create one just before use.
Example
{ "checkout": { "url": "https://checkout.stripe.com/c/pay/cs_live_example", "expires_at": "2026-11-22T12:00:00Z" }}Invalid body
object
object
Where to tell EthicsPortal what went wrong: POST product feedback here with the same token.
Example
{ "error": { "code": "invalid_request", "feedback_url": "https://secure.ethicsportal.eu/me/feedback.json" }}Missing, unknown, expired or revoked token
object
object
Where to tell EthicsPortal what went wrong: POST product feedback here with the same token.
Example
{ "error": { "code": "invalid_token", "feedback_url": "https://secure.ethicsportal.eu/me/feedback.json" }}The token lacks the required scope (WWW-Authenticate names it), the user’s role does not allow the action, or an agreement must be accepted in the web application
object
object
Where to tell EthicsPortal what went wrong: POST product feedback here with the same token.
Example
{ "error": { "code": "insufficient_scope", "feedback_url": "https://secure.ethicsportal.eu/me/feedback.json" }}Organisation missing or inaccessible, API access suspended, or billing not configured
object
object
Where to tell EthicsPortal what went wrong: POST product feedback here with the same token.
Example
{ "error": { "code": "not_found", "feedback_url": "https://secure.ethicsportal.eu/me/feedback.json" }}Unknown interval
object
object
Where to tell EthicsPortal what went wrong: POST product feedback here with the same token.
Example
{ "error": { "code": "validation_failed", "fields": [ "interval" ], "feedback_url": "https://secure.ethicsportal.eu/me/feedback.json" }}Rate limited; retry after the Retry-After interval
object
object
Where to tell EthicsPortal what went wrong: POST product feedback here with the same token.
Example
{ "error": { "code": "rate_limited", "feedback_url": "https://secure.ethicsportal.eu/me/feedback.json" }}Stripe could not be reached. Retry the lookup; do not infer that no checkout exists.
object
object
Where to tell EthicsPortal what went wrong: POST product feedback here with the same token.
Example
{ "error": { "code": "temporarily_unavailable", "feedback_url": "https://secure.ethicsportal.eu/me/feedback.json" }}