---
title: "Obter checkout da company autenticada"
method: GET
path: "/api/v1/checkout_process"
tags: ["Conta e checkout"]
---

# Obter checkout da company autenticada

`GET /api/v1/checkout_process`

## Request

- Base URL: `https://app.oportunidados.com.br`
- URL: `https://app.oportunidados.com.br/api/v1/checkout_process`
- Auth: OAuth 2 (authorization code, authorization URL `/oauth/authorize`, token URL `/oauth/token`; client credentials, token URL `/oauth/token`, scopes: `checkout_read`)

Checkout da company do token OAuth. Presente → objeto com as chaves de `checkout_detail`; ausente → `checkout_process` null. Escopo `checkout_read`. 401 sem token e 403 com escopo insuficiente são o `doorkeeper_authorize!`.

## Response `200`

sucesso

- object
  - `checkout_process` object, nullable, required
    - `id` integer, required
    - `step` string, required
    - `finished` boolean, required
    - `plan_identifier` string, nullable, required
    - `customer_name` string, nullable, required
    - `customer_email` string, nullable, required
    - `company_name` string, nullable, required
    - `mobile_phone` string, nullable, required
    - `voucher` string, nullable, required
    - `has_payment_method` boolean, required
    - `has_subscription` boolean, required
    - `manually_created` boolean, required
    - `company_id` integer, nullable, required
    - `abversion` string, nullable, required
    - `lpversion` string, nullable, required
    - `utm_source` string, nullable, required
    - `utm_medium` string, nullable, required
    - `utm_campaign` string, nullable, required
    - `utm_content` string, nullable, required
    - `utm_term` string, nullable, required
    - `referrer_url` string, nullable, required
    - `landing_page` string, nullable, required
    - `user_agent` string, nullable, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `401`: não autorizado — sem corpo (Doorkeeper responde head)
- `403`: escopo insuficiente — sem corpo (Doorkeeper responde head)

---

[API](https://skmtc.dev/oportunidados/apis/api-de-dados-oportunidados-v1.md) · [All operations](https://skmtc.dev/oportunidados/apis/api-de-dados-oportunidados-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/oportunidados/apis/api-de-dados-oportunidados-v1/revisions/0af33d72cdb4?raw)
