1. Get your API key
Sign up at the Cherp dashboard to get your API keys. You receive two keys:| Key format | Environment |
|---|---|
pk_live_<32chars> | Production — real funds, real chains |
pk_test_<32chars> | Test mode — testnets, no real funds, free |
2. Create a Payment Intent
A Payment Intent represents a single payment request. Create one by calling the API:created state.
3. Track the payment
Poll the intent status or use webhooks to get notified on state transitions:state field tells you where the payment is in its lifecycle:
| State | Meaning |
|---|---|
created | Intent exists, no transaction submitted yet |
pending | Transaction broadcast, awaiting confirmation |
confirmed | Sufficient confirmations — user-facing completion signal |
finalized | Chain-level finality (background signal) |
4. Simulate in test mode
Use the simulate endpoint to test your integration without waiting for real chain confirmations:Next steps
Payment intents
Understand the full Payment Intent lifecycle and state machine.
SDK integration
Add Cherp to your mobile app with the SDK.
Webhooks
Set up real-time notifications for payment events.
API reference
Explore all available endpoints.