# CryptoPayr API > CryptoPayr is a crypto payment gateway. Merchants create payments over a REST API (JSON, Bearer keys), send buyers to a hosted checkout, get signed webhooks when a payment completes, and pay out, transfer or refund from a USD balance. Key facts: base URL https://cryptopayr.com/api/v1. Secret key sk_live_… for most calls, test key sk_test_… for test mode (payment/create, payment/lookup, payment/test-complete), withdrawal key wk_live_… for payout/create, transfer/create and payout-link writes. Webhooks are signed: X-CryptoPayr-Signature = hex HMAC-SHA256 of the raw body keyed with the secret key. Fulfil only on status COMPLETED and check underpaid / amount_paid. Responses: {"status":"success","message","data","timestamp"}; errors: {"status":"failed","error","code","timestamp"}. ## Docs - [API reference](https://cryptopayr.com/docs/): every endpoint with examples in cURL, PHP, Node.js and Python - [Full docs as Markdown](https://cryptopayr.com/llms-full.txt): the reference and every guide in one file - [OpenAPI 3.1 spec (JSON)](https://cryptopayr.com/openapi.json) - [OpenAPI 3.1 spec (YAML)](https://cryptopayr.com/openapi.yaml) - [Postman collection](https://cryptopayr.com/cryptopayr.postman_collection.json) - [Changelog](https://cryptopayr.com/docs/changelog) - [Exchange API](https://cryptopayr.com/docs-exchange): public, keyless crypto-to-crypto swaps ## Guides - [Your first payment in 5 minutes](https://cryptopayr.com/docs/guides/first-payment): Create a payment, send the buyer to checkout, get the webhook. - [Fulfil orders safely](https://cryptopayr.com/docs/guides/fulfil-orders): Verify the webhook, confirm with a lookup, deliver what was paid. - [Handle underpayments](https://cryptopayr.com/docs/guides/underpayments): What happens when a buyer sends too little, and what to deliver. - [Pay people with payout links](https://cryptopayr.com/docs/guides/payout-links): Send money without knowing the wallet address. - [Test mode and going live](https://cryptopayr.com/docs/guides/going-live): Build against sk_test_, then switch keys with a checklist. ## SDKs - [PHP SDK](https://cryptopayr.com/plugin/php-sdk) - [Node.js SDK](https://cryptopayr.com/plugin/nodejs-sdk) - [Python SDK](https://cryptopayr.com/plugin/python-sdk) ## Optional - [Shop plugins](https://cryptopayr.com/plugins): WooCommerce, WHMCS, PrestaShop and more - [Pricing](https://cryptopayr.com/pricing)