---
title: "Api Purchase Status"
method: GET
path: "/v1/credit-purchases/{purchase_id}"
---

# Api Purchase Status

`GET /v1/credit-purchases/{purchase_id}`

## Request

- Base URL: `https://www.polytranslator.com/api`
- URL: `https://www.polytranslator.com/api/v1/credit-purchases/{purchase_id}`
- Auth: HTTP bearer

## Path parameters

- `purchase_id` string, uuid, required

## Response `200`

Successful Response

- ApiPurchaseResponse
  - `purchase_id` string, uuid, required
  - `status` string, required
  - `checkout_url` string, nullable
  - `credits` integer, required
  - `price_cents` integer, required
  - `currency` string, required
  - `credits_granted` boolean, required
  - `payment_intent_id` string, nullable
  - `client_secret` string, nullable
  - `action_url` string, nullable
  - `action_type` string, nullable
  - `failure_reason` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/polytranslator/apis/polytranslator-api.md) · [All operations](https://skmtc.dev/polytranslator/apis/polytranslator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/polytranslator/apis/polytranslator-api/revisions/744f2e6d5396?raw)
