---
title: "Get Checkout Url"
method: GET
path: "/billing/checkout-url"
tags: ["billing"]
---

# Get Checkout Url

`GET /billing/checkout-url`

## Request

- Base URL: `https://api.getathly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getathly.com/billing/checkout-url`
- Auth: HTTP bearer

Where to start paying again once a cancellation has elapsed.

Resolved server-side so the onboarding origin and shared secret stay out of
the bundle. What comes back is a link for the screen to render, not a
redirect to follow.

## Query parameters

- `athlete_slug` string, required

## Response `200`

Successful Response

- CheckoutUrlResponse: Where to start paying again, once a cancellation has actually elapsed. Built server-side: ``ONBOARDING_BASE_URL`` and the shared secret are deliberately not in the bundle, and the token this URL carries is the pair's onboarding ``access_token``, which a browser has no way to resolve.
  - `url` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getathly/apis/athly-api.md) - [All operations](https://skmtc.dev/getathly/apis/athly-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getathly/apis/athly-api/revisions/6adfdc258d75?raw)
