---
title: "Create an invoice (payment request)"
method: POST
path: "/invoices"
---

# Create an invoice (payment request)

`POST /invoices`

## Request

- Base URL: `https://swap.vurto.cc/v1`
- URL: `https://swap.vurto.cc/v1/invoices`
- Auth: none required

No signature or API key needed. Only verified tokens of the network are accepted, by address or symbol: a cloned token with its own pool would let the creator sell a fake at any price. The payer can pay with any token on that network (see /invoices/{id}/pay). Rate-limited 10 per minute and 200 per day per IP.

## Request body

- object
  - `chainId` union, required
    - integer
    - 'solana-mainnet'
  - `recipient` string, required: Receiving wallet; base58 and case-sensitive on Solana.
  - `token` string, required: Address/mint or symbol of a verified token.
  - `amount` string, required: Human decimal, e.g. "100".
  - `memo` string

## Response `201`

Created

- object
  - `invoice` object
    - `id` string
    - `label` string: INV-XXXX-XXXX, what people copy.
    - `family` 'evm' | 'svm'
    - `chainId` union
      - integer
      - string
    - `recipient` string
    - `token` string
    - `tokenSymbol` string
    - `tokenDecimals` integer
    - `amount` string: Requested amount, raw units.
    - `memo` string, nullable
    - `status` 'open' | 'paid'
    - `paidTx` string, nullable
    - `received` string: Raw amount measured on-chain reaching the recipient, over confirmed payments.
    - `url` string: Share this: https://swap.vurto.cc/i/<id>. Link previews show the QR.
    - `qr` string: PNG of the QR for url.
    - `payments` object[]

## Other responses

- `400`: token_not_listed, invalid_amount, invalid_recipient, unsupported_chain
- `409`: ambiguous_token: the symbol matches more than one token; use the address

---

[API](https://skmtc.dev/vurto/apis/vurto-swap-public-api.md) · [All operations](https://skmtc.dev/vurto/apis/vurto-swap-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vurto/apis/vurto-swap-public-api/revisions/423be3a193b5?raw)
