Testing on Testnet
How to test your iPint integration using testnet coins.
Testing on Testnet
Use testnet bitcoins to test your iPint integration in a testing environment. The testnet is an alternative Bitcoin blockchain used for testing — testnet coins are separate from real bitcoins and have no value.
Set up a testnet wallet
Download Coinomi wallet
Download from coinomi.com/downloads
Create a new wallet
Open the Coinomi app and click "Create a new Wallet".
Store your recovery phrase
Write down your recovery phrase securely and click "Next".
Confirm or skip recovery phrase
Verify your recovery phrase or skip.
Set a password
Set up your password and click Next.
Add Bitcoin Test
Find and select "Bitcoin Test" from the coin list and click Next.
Copy your testnet address
Copy your Testnet Bitcoin Receiving Address.
Get free testnet coins
Get testnet bitcoins from a faucet. Paste your testnet address (from step 7 above) and click send:
Each faucet has a limited amount of testnet bitcoins per request and a time limit between requests. After receiving testnet coins, wait for 1 confirmation (~20 minutes) before you can spend them.
Make a test payment
-
Generate an invoice using the testnet base URL:
https://api.ipint.io:8002/checkoutFor testnet, use port 8002. For mainnet (production), use port 8003.
-
Open the iPint test checkout by redirecting to the
payment_process_urlfrom the response. -
Pay using your testnet bitcoins from the Coinomi wallet.
Testnet vs mainnet
| Testnet | Mainnet | |
|---|---|---|
| Base URL | https://api.ipint.io:8002 | https://api.ipint.io:8003 |
| Port | 8002 | 8003 |
| Coins | Testnet (no value) | Real |
| Credentials | Test API credentials | Production API credentials |
Next steps
- Go to Production — production checklist
- API Overview — base URLs
- Quick Start — first payment