sk_test_ / sk_live_. Create customers, take checkout payments, lock money in a hold, release or refund that hold, and send payouts to a bank.
Create a merchant account in Demat, complete onboarding, and copy your test secret key (
sk_test_...). Use test keys until your account is verified and you are ready to go live.Quick start
How it works
Full lifecycle: customers, hold, fund, release or refund, then payout.
Authentication
Secret keys, test vs live, and Bearer auth.
Webhooks
Verify signatures and handle escrow, payment, and payout events.
API Reference
Interactive endpoints from the live OpenAPI spec.
What you can build
Before you call the API
- Read How it works for statuses, who the money belongs to, and which webhook to wait for.
- Authenticate with your secret key. See Authentication.
- Use Idempotency on
POSTs that move money. - Prefer webhooks over polling. See Webhooks and Rate limits.