---
title: "Create an invoice for the sale of a gift card"
method: POST
path: "/v1/invoices/gift_cards"
---

# Create an invoice for the sale of a gift card

`POST /v1/invoices/gift_cards`

## Request

- Base URL: `https://api.zenoti.com`
- URL: `https://api.zenoti.com/v1/invoices/gift_cards`
- Auth: none required
- TypeScript: <https://skmtc.dev/zenoti/apis/zenoti-authentication/docs/v1/invoices/gift_cards/post.ts> (a function with typed inputs; its response is checked against the schema)

This API helps you to create an invoice for the sale of a gift card without having to first create or select a gift card template.

If you have your own Webstore, e-commerce store, or Consumer Mobile App (CMA), this API helps you to record the sale of a physical or online gift card (with a custom gift code or gift card number) in your Zenoti application.

## Request body

- object
  - `RAW_BODY` string, json

## Response `200`

200

- object
  - `invoice_id` string
  - `error` unknown

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/zenoti/apis/zenoti-authentication.md) - [All operations](https://skmtc.dev/zenoti/apis/zenoti-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/zenoti/apis/zenoti-authentication/revisions/e628f892391a?raw)
