---
title: "Post Gift Checkout"
method: POST
path: "/v1/gifts/checkout"
tags: ["public"]
---

# Post Gift Checkout

`POST /v1/gifts/checkout`

## Request

- Base URL: `https://api.fatheron.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fatheron.dev/v1/gifts/checkout`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Headers

- `Authorization` string, nullable
- `X-API-Key` string, nullable

## Cookies

- `fh_access_token` string, nullable

## Request body

- PurchaseGiftRequest
  - `kind` 'plan_grant' | 'credit'
  - `plan_code` string, nullable
  - `credit_cents` integer, nullable
  - `payment_method` 'stripe' | 'balance' | 'crypto'
  - `asset_code` string, nullable
  - `recipient_email` string, nullable
  - `message` string, nullable
  - `reserved_local_part` string, nullable
  - `reserved_domain` string, nullable
  - `reserved_capability` 'forward_only' | 'send_receive', nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fatheron/apis/fat-heron-builders-api.md) · [All operations](https://skmtc.dev/fatheron/apis/fat-heron-builders-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fatheron/apis/fat-heron-builders-api/revisions/82bc021b1102?raw)
