Welcome to the CoinsSend API documentation. This guide will help you integrate cryptocurrency payments, wallets, and withdrawals into your application with our simple yet powerful API. Follow these steps to get started quickly.
## Integration Overview
1
Create a Merchant Account
Sign up for a merchant account to get your unique merchant ID and API credentials. Our simple onboarding process helps you get started in minutes.
Create API keys with specific permissions for invoice creation, wallet management and withdrawals. Our granular permissions system ensures you have the right security controls.
Choose between invoices for one-time payments or static wallets for recurring transactions. Both options provide seamless integration with your existing systems.
Configure webhooks to receive real-time payment notifications and transaction updates. Our robust event system keeps your application in sync with invoice status changes and static wallet transactions.
## Account Setup
### Create Merchant Account
1. Go to [CoinsSend Sign Up](https://app.coinssend.com/sign-up)
2. Complete the registration form with your business information (no KYC required)
3. Verify your email address
### Generate API Credentials
After setting up your merchant account:
1. Log in to your merchant dashboard
2. Create merchant
3. Navigate to Merchant Settings
4. Note your **Merchant ID** (you'll need this for all API requests)
5. Find your API key (generated automatically when the merchant is created) - withdrawal permissions are configured in merchant settings
Security Best Practice: Always store your API keys securely in environment variables or a secure key vault. Never expose API keys in client-side code, public repositories, or include them directly in your application's source code.
## Payment Integration Options
CoinsSend offers two primary methods for accepting cryptocurrency payments:
Invoices
Generate single-use payment links for specific order amounts. Ideal for e-commerce and one-time payments.
Fixed payment amounts in USD with automatic crypto conversion
Stablecoin support including USDT and other stablecoins
## Implementing Webhooks
To receive real-time payment notifications, set up a webhook endpoint:
1. Create an HTTP endpoint in your application to receive webhook events
2. Configure the webhook URL in your merchant dashboard or specify it in API requests
3. Implement signature verification to validate incoming webhooks
4. Process webhook events asynchronously
Developer Tip: During development, use a webhook testing tool like webhook.site or ngrok to inspect and debug incoming webhook payloads. These tools provide temporary endpoints that you can use to test your webhook integration before setting up your production endpoint.
See the [Webhooks documentation](./webhooks.md) for details on webhook formats and best practices.
## Next Steps
Now that you have the basics set up, you can:
## Support
If you need help with your integration:
- Check our [API reference documentation](./api-reference.md)
- Review common [error codes and troubleshooting](./error-handling.md)
- Contact our support team at [support@coinssend.com](mailto:support@coinssend.com)