FlatCryptoPay documentation
Everything you need to accept crypto payments in your app or store: a small REST API, a hosted pay page, signed webhooks and a WooCommerce plugin. Most integrations take under an hour.
https://flatcryptopay.com/api/v1
Authorization: Bearer fcp_live_... # live
Authorization: Bearer fcp_test_... # test mode Get started
Quickstart
Create an account, add a payout address, make an API key and accept your first crypto payment in about five minutes.
Get started
Payout addresses and xpubs
Which wallet addresses and extended public keys FlatCryptoPay accepts, how they are validated, and how per-invoice Bitcoin addresses are derived.
Get started
Test mode
Use fcp_test_ keys to create test invoices, simulate payments and receive test webhooks without moving real funds.
API
API reference
Authentication, the Invoice and Payment Link objects, every endpoint with request and response examples, pagination and idempotency.
API
Webhooks
Event types, payload format, HMAC-SHA256 signature verification in Node, PHP and Python, retries and best practices.
API
Errors and rate limits
Error object format, HTTP status codes, error codes and how to handle rate limits and retries safely.
Guides
Payment links
Create reusable no-code payment links with a fixed or customer-chosen amount and share them anywhere.
Guides
WooCommerce plugin
Install and configure the FlatCryptoPay for WooCommerce plugin: API key, webhook secret, order statuses and test mode.