Quick Start
Get your first crypto payment up and running in under 5 minutes.
Prerequisites
- A DonutMe account (sign up here)
- A crypto wallet (MetaMask, Coinbase Wallet, or any WalletConnect-compatible wallet)
Step 1: Create a Project
- Log in to the DonutMe Dashboard
- Click Create Project
- Fill in your project name and description
- Select your preferred networks (e.g., Ethereum Sepolia for testing)
Step 2: Set Up a Payment Plan
- Navigate to your project's Payment Plans section
- Click Create Payment Plan
- Configure the plan:
- Name: e.g., "Basic Plan"
- Amount: The payment amount in USD
- Recipient Address: Your wallet address to receive funds
- Supported Tokens: Select which tokens to accept (USDT, USDC, etc.)
Step 3: Generate a Payment Link
Once your payment plan is created, you'll get a shareable payment link:
https:"text-neutral-500">//donutme.xyz/en/pay/{linkId}/checkoutShare this link with your customers. They'll see a professional checkout page where they can connect their wallet and complete the payment.
Step 4: Handle Payment Events
Set up a webhook to receive real-time payment notifications:
- Go to your project's Settings → Webhooks
- Click Add Endpoint
- Enter your server URL (e.g.,
https://your-server.com/webhook) - Select the events you want to receive (
payment.confirmed,payment.failed) - Save — DonutMe will send a signed
POSTrequest to your endpoint for each event
See the Webhooks guide for payload format and signature verification.
Step 5: Verify Payments
When a payment completes, your webhook endpoint receives:
JSON
{
"event": "payment.confirmed",
"data": {
"transactionId": "tx_...",
"amount": "10.00",
"token": "USDT",
"network": "ethereum-sepolia",
"txHash": "0x...",
"status": "completed"
}
}Next Steps
- Payment Links — Advanced payment link configuration
- Checkout — Embed checkout in your app
- API Reference — Full REST API documentation
- Webhooks — Webhook event reference