---
title: "Create a bitcoin (on-chain) BTCPay invoice; JSON tier. Lightning comes later: lightning=true is refused"
method: POST
path: "/v1/checkout/btcpay"
---

# Create a bitcoin (on-chain) BTCPay invoice; JSON tier. Lightning comes later: lightning=true is refused

`POST /v1/checkout/btcpay`

## Request

- Base URL: `https://commonrig.com`
- URL: `https://commonrig.com/v1/checkout/btcpay`
- Auth: none declared

## Response `200`

Invoice and claim URLs

## Other responses

- `400`: Invalid tier, or Lightning requested
- `503`: Not configured or payments not live

---

[API](https://skmtc.dev/commonrig/apis/commonrig-store.md) · [All operations](https://skmtc.dev/commonrig/apis/commonrig-store/llms.txt) · [OpenAPI document](https://skmtc.dev/commonrig/apis/commonrig-store/revisions/e96d0be6e5b3?raw)
