<-- Create extension for gen_random_uuid CREATE EXTENSION IF NOT EXISTS pgcrypto;
CREATE TABLE IF NOT EXISTS payouts ( id uuid PRIMARY KEY DEFAULT gen_random_uuid(), requester_id text NOT NULL, idempotency_key text NOT NULL, recipient text NOT NULL, amount_sats bigint NOT NULL CHECK (amount_sats > 0), status text NOT NULL DEFAULT 'queued', -- queued, processing, succeeded, failed txid text, fee_sats bigint, attempts int NOT NULL DEFAULT 0, failure_reason text, created_at timestamptz NOT NULL DEFAULT now(), updated_at timestamptz NOT NULL DEFAULT now() );
CREATE UNIQUE INDEX IF NOT EXISTS ux_payouts_requester_id_idempotency
ON payouts(requester_id, idempotency_key); align="center">
Instant Bitcoin Payment APIs
Documentation · Developer Dashboard · API Reference · API Status
ZBD is the payments platform for modern developers, providing the speed and reliability innovators need to create monetized and meaningfully-engaging user experiences.
We enable businesses and consumers to quickly introduce instantaneous Bitcoin payments to the fabric of their applications, games, and platforms. ZBD has the most comprehensive set of Bitcoin Lightning API capabilities and is industry-leader in supporting companies in the fields of gaming, social, adtech and fintech.
With ZBD, it's easy! Anyone can do it. What are YOU building?
Install the Mintlify CLI to preview the documentation changes locally. To install, use the following command
npm i -g mintlify
Run the following command at the root of the repository (where mint.json is)
mintlify dev
Changes will be deployed to production automatically after pushing to main branch.
You can also preview changes using PRs, which generates a preview link of the docs.
- Mintlify dev isn't running - Run
mintlify installit'll re-install dependencies. - Page loads as a 404 - Make sure you are running in a folder with
mint.json