Get Started with Cryptopay
Welcome to Cryptopay Developers. This guide gives you an overview of the Cryptopay integration flow and helps you choose the right way to get started.
A great start is to set up your integration in the Sandbox environment and test the features you need. You can integrate directly with Cryptopay through the API, or connect through a third-party provider. Once your onboarding process is complete, we verify your account and enable Production access.
STEP 1. Create a test account
Register a test account by following this link: https://business-sandbox.cryptopay.me/auth/signup
You will receive an "Email address confirmation" email asking you to confirm your email address – click on the green "Confirm your email" button, and you will be redirected to the account password creation page. Create a password and log in to your account.
Enable Two-factor authentication (2FA). This is a mandatory action. Once 2FA is enabled, you can use the security code 000000 (this combination works only on sandbox) to log in.
Contact your Integration or Account Manager at Cryptopay to activate your test account and top up your test balances to be able to make test payments.
STEP 2. Create API credentials
After sandbox account is verified, create your API keys in the API Keys section of your merchant account. Then, go to the Integration section and configure your Callback URL and Callback Secret.
Here you can check the detailed guide on API credentials.
STEP 3. Test your integration
Once you have created your API credentials, you can start testing your integration in the Sandbox environment.
Testing is available both through your merchant account and via the API, and you can combine the two. For example, you can create an Invoice through the API and then complete the payment through your merchant account.
Below are three step-by-step guides covering the main Cryptopay payment flows:
Test an Invoice — create and complete an Invoice.
Test a Channel — create and test a Channel payment.
Test a Withdrawal — create and complete a Withdrawal.
STEP 4. Finalize the integration
Make sure you are receiving the callbacks and processing them correctly on your side. Handling callbacks correctly is crucial to make sure your integration’s business logic works as expected. It is highly recommended to validate payment statuses and callback data against the expected payment details in your system before triggering any business logic.
Make sure that you credit the funds to the customer's balance when the payment status is updated to
completed.Make sure that resending callbacks with the
completedstatus does not result in the recharging of funds to the customer's balance on your sideMake sure that all the relevant teams on your side (Support Team, Finance Team, Fraud Team, Transaction Monitoring Team) are aware of how Cryptopay payment risk scoring works and that incoming payments can be assigned with the
On Holdstatus and theIllicit Resourcescontext in cases where they were sent from wallets connected to criminal activity
STEP 5. Go live
Once you have completed the onboarding process, production access will be enabled for your account.
The integration itself does not change, but there are a few important differences when moving from Sandbox to Production:
Update the Base URL to the Production API URL - https://business.cryptopay.me/.
Replace your Sandbox API credentials with your Production API credentials.
Check and update your callback settings for the production environment.
Once these settings are updated, your integration is ready to process real transactions.
Last updated