Developers

Build on Bequest.

REST, webhooks, idempotent everything. SDKs for Node, Python, Ruby, PHP, Go, and Swift. The whole platform behind one key.

Quick start

A gift in three lines.

Authenticate with your key, post the gift, listen for the webhook. That's the loop.

1. Authenticate.

Every request carries a bearer token. Test keys are free and unlimited — they just don't move real money.

2. Post.

One POST /v1/gifts with sender, recipient, and amount. Idempotency key recommended.

3. Listen.

Subscribe to gift.settled. Receipts and ledger updates land in your webhook.

const bq   = new Bequest(process.env.BQ_KEY);
const gift = await bq.gifts.create({ from, to, amount_cents: 2500 });
bq.on('gift.settled', receipt => ledger.write(receipt));
Reference

Three core resources.

Direct gifts, campaigns, pools. Same auth, same pagination, same idempotency. Plus webhooks for everything they emit.

SDKs

Speak your language.