---
title: "Attach the paid purchase to the signed-in account (Google is the truth)."
method: POST
path: "/api/v1/billing/funnel/claim"
tags: ["Billing"]
---

# Attach the paid purchase to the signed-in account (Google is the truth).

`POST /api/v1/billing/funnel/claim`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/billing/funnel/claim`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Request body

- GuestClaimRequest
  - `checkout_id` string, required
  - `claim_token` string, required

## Response `200`

OK

- GuestClaimResponse
  - `avatar_id` integer, nullable
  - `email_mismatch` boolean, required
  - `plan_slug` string, required
  - `prefill` string, nullable
  - `status` string, required

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity

---

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