# Get a checkout

`GET https://console.advinservers.com/api/v1/client/checkout/{uuid}`

### Overview

Returns a checkout's purchase details, itemised total, payment options and next payment step. `enabled` is false if payments are unavailable. Checkouts belonging to another account return 404.

### Permissions

Requires the `billing.purchase` (Make purchases) permission for the selected team. Resources outside that team return 404.

## Authorization

Send `Authorization: Bearer <token>` with the request. Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

## Path parameters

- `uuid` (string, required): The uuid ID.

## Response 200

The record, as a JSON object. There is no envelope.

- `enabled` (boolean, required): Whether the panel is taking payments at all.
- `uuid` (string, required): The uuid UUID.
- `uuid_short` (string, required): The value of `uuid_short`.
- `status` (string, required): The value of `status`. One of: `draft`, `awaiting_gateway`, `charging`, `recording`, `paid`, `expired`, `cancelled`.
- `status_label` (string, required): The status in the customer's words, written once on the enum.
- `progress_message` (string | null, required): The value of `progress_message`.
- `last_error_code` (string | null, required): The value of `last_error_code`.
- `description` (string, required): What is being bought, or the invoice number when no name is available.
- `line_items` (object[], required): The value of `line_items`.
  - `label` (string, required): A short label shown to customers.
  - `amount` (string | null, required): The amount in the currency shown by `currency`.
- `amount` (string, required): The decimal string the row holds. Money is never a float here: this is the figure the customer is about to be charged.
- `currency` (string, required): The three-letter currency code used for monetary amounts.
- `total_display` (string, required): The amount and its currency, rendered ready to print.
- `option` (string | null, required): The value of `option`. One of: `stripe_once`, `stripe_subscription`, `stripe_checkout`, `paypal_once`, `paypal_subscription`, `btcpay_once`, `nowpayments_once`, `null`.
- `options` (object[], required): The value of `options`.
  - `value` (string, required): The enum's own value, which is what a start request sends back.
  - `label` (string, required): A short label shown to customers.
  - `shortLabel` (string, required): What the picker prints once a choice has been made, where the full label is too long to sit on a button.
  - `description` (string, required): An optional description shown to customers.
  - `provider` (string, required): The value of `provider`.
  - `providerName` (string, required): The value of `provider_name`.
  - `recurring` (boolean, required): Whether choosing this hands the provider a standing schedule rather than taking one payment. Only ever offered where this invoice's amount is what falls due each cycle.
- `merchant_of_record` (boolean, required): Whether the payment provider was the seller of record, shown as small print. Only older checkouts were.
- `notes` (string | null, required): Optional notes about the request.
- `promo_code` (string | null, required): The value of `promo_code`.
- `redirect_url` (string | null, required): Where to send the customer, if anywhere.
- `stripe` (object | null, required): Set while the attempt charges a saved card, which the page confirms.
  - `publishable_key` (string, required): Stripe's publishable key, which is public by design.
  - `client_secret` (string, required): Only confirms this one charge, on the account's own card.
- `return_path` (string | null, required): The value of `return_path`.
- `expires_at` (string | null, required): When this action or checkout expires, in UTC.
- `settled_at` (string | null, required): The date and time for settled at, in UTC.
- `created_at` (string | null, required): The date and time for created at, in UTC.
- `is_live` (boolean, required): Whether the checkout can still accept another payment attempt.
- `can_choose` (boolean, required): Whether the customer can choose.
- `is_settling` (boolean, required): Whether the resource is settling.
- `paypal_account` (string | null, required): The saved PayPal account this attempt charges, by its `uuid`.
- `payment_card` (string | null, required): The saved card this attempt charges, by its `uuid`.

```json
{
  "uuid": "53a832f9-e85e-44b5-af03-2ef26110686d",
  "uuid_short": "Uuid short",
  "status": "awaiting_gateway",
  "status_label": "Waiting for payment",
  "progress_message": "Opening the payment form…",
  "last_error_code": null,
  "description": "Account credit · 25.00 USD",
  "line_items": [
    {
      "label": "Account credit",
      "amount": "25.00 USD"
    },
    {
      "label": "Added to your balance once the payment clears",
      "amount": null
    }
  ],
  "amount": "25.00",
  "currency": "USD",
  "total_display": "25.00 USD",
  "option": "stripe_once",
  "options": [
    {
      "value": "stripe_once",
      "label": "Credit Card (one-time payment)",
      "shortLabel": "Credit Card",
      "description": "Pay once with a saved card or a new one. Nothing renews by itself.",
      "provider": "stripe",
      "providerName": "Stripe",
      "recurring": false
    },
    {
      "value": "btcpay_once",
      "label": "Cryptocurrency (one-time payment)",
      "shortLabel": "BTCPay",
      "description": "Pay once in Bitcoin or another supported coin. Confirmations can take a few minutes.",
      "provider": "btcpay",
      "providerName": "BTCPay Server",
      "recurring": false
    }
  ],
  "merchant_of_record": false,
  "notes": null,
  "promo_code": null,
  "redirect_url": null,
  "stripe": {
    "publishable_key": "Publishable key",
    "client_secret": "Client secret"
  },
  "return_path": "/billing",
  "expires_at": "2026-09-14T17:12:09+00:00",
  "settled_at": null,
  "created_at": "2026-09-14T16:42:09+00:00",
  "is_live": true,
  "can_choose": false,
  "is_settling": false,
  "paypal_account": "Paypal account",
  "payment_card": "Payment card",
  "enabled": true
}
```

## Errors

- `401`: The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- `403`: Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- `404`: The resource was not found in the selected team. Resources in another account or team also return 404.
- `429`: Too many requests. The `Retry-After` header says how many seconds to wait. Limits are per account, so several keys on one account share them.

## Example request

```bash
curl --request GET \
  --url 'https://console.advinservers.com/api/v1/client/checkout/{uuid}' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json'
```
