Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Brianbooms Com Btc API
contact:
email: SyntheticUniverse@outlook.com
version: '1.0'
description: 'Operations tagged Btc across 2 of this provider''s published API definitions: brianbooms-com-openapi.json, pay-brianbooms-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://pay.brianbooms.com
tags:
- name: Btc
paths:
/api/v1/btc/quote:
post:
summary: Issue a server-locked BTC price quote (15 minutes)
description: Human Bitcoin checkout, step 1. Returns a quote_id binding the product, USD price, BTC amount, and required parameters. The BTC amount is locked for 15 minutes. Email is optional and is only used if there is an issue with the order.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- sku
properties:
sku:
type: string
description: Product SKU (see /api/v1/buy/* for the SKU list)
params:
type: object
description: 'Product parameters: track (leases), tracks+project (game licenses)'
email:
type: string
description: Optional contact email
responses:
'200':
description: 'Quote issued: quote_id, btc_amount, address, expires_at'
'400':
description: Unknown SKU or missing required parameters
'503':
description: Could not fetch the BTC price
tags:
- Btc
operationId: postApiV1BtcQuote
x-operation-id-source: derived
servers:
- url: https://pay.brianbooms.com
/api/v1/btc/verify:
post:
summary: Verify a BTC payment against a quote
description: 'Human Bitcoin checkout, step 2. The worker looks the transaction up on the Bitcoin network and requires: payment to the Brian Booms BTC address, at least the quoted amount, at least 1 confirmation, confirmed after the quote was issued, and a transaction ID never used before. Downloads are delivered instantly; leases/game licenses issue an ACTIVE license_certificate instantly (clearance terms embedded); sleep-club returns member_id + member_token + library_url.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- quote_id
- txid
properties:
quote_id:
type: string
description: Quote ID from /api/v1/btc/quote
txid:
type: string
description: 64-character Bitcoin transaction ID of the payment
responses:
'200':
description: Payment verified; fulfillment JSON
'400':
description: Invalid txid, short payment, wrong address, or quote expired
'402':
description: Transaction not yet confirmed
'404':
description: Quote not found/expired, or transaction not found on the network
'409':
description: Quote or transaction already used
tags:
- Btc
operationId: postApiV1BtcVerify
x-operation-id-source: derived
servers:
- url: https://pay.brianbooms.com
x-refined-from:
- brianbooms-com-openapi.json
- pay-brianbooms-com-openapi.json