Build on CowriePay

A clean REST API, scoped keys, signed webhooks and a sandbox. Go live in 10 to 15 minutes.

Get started

1

Request a sandbox key

Fill out the form at app.cowriepay.io/get-started. Our team sets up your sandbox workspace within 48 hours.

2

Build on the Sandbox

Test on TRON Nile, BSC testnet and Ethereum Sepolia. Your sandbox balance is pre-funded with test tokens.

3

Sign your requests

Every /v2 request is signed with HMAC-SHA256 using your scoped API key.

4

Go live

Switch the base URL to production and use your live key.

Base URLs:Production https://api.cowriepay.ioSandbox https://sandbox-api.cowriepay.io
  • Create a wallet in a single API call
  • Get a signed webhook on every deposit and payout
  • Test everything free in the Sandbox
curl https://api.cowriepay.io/v2/wallets \
  -H "Authorization: Bearer cpk_live_..." \
  -d chain=TRON_MAINNET \
  -d asset=USDT_TRON

What you get

REST API and OpenAPI

A predictable REST API with an OpenAPI reference you can generate clients from.

Scoped API keys

Fine-grained keys, separate live and test, least privilege by default.

Signed webhooks

HMAC-signed events with rotation and an overlap window, so you never miss a delivery.

Sandbox

A full testnet environment to build and verify before going live.

Idempotency

Safe retries on write operations with idempotency keys.

Real-time updates

Webhooks and dashboard updates as deposits confirm and payouts settle.

Webhook events

DEPOSIT_DETECTEDDEPOSIT_CONFIRMEDDEPOSIT_SWEPTWITHDRAWAL_PROCESSINGWITHDRAWAL_CONFIRMEDWITHDRAWAL_FAILEDBENEFICIARY_ADDED