Coinskro Pay Integration Guide
Accept cryptocurrency payments on your website in minutes.
What is Coinskro Pay?
Coinskro Pay is a cryptocurrency payment gateway that lets you accept crypto payments from your customers. Whether you run an e-commerce store, subscription service, or any online business, Coinskro Pay makes it easy to receive payments in USDT, BTC, ETH, and more.
Why Choose Coinskro Pay?
✅ Easy Integration - Add payments in under 10 minutes
✅ Low Fees - Competitive transaction fees
✅ Real-time Webhooks - Get notified instantly when payments complete
✅ No Chargebacks - Cryptocurrency payments are final
✅ Global Payments - Accept payments from anywhere in the world
Quick Start
Step 1: Get Your API Keys
- Sign up at coinskro.com for mainnet or testnet.coinskro.com for testing
- Navigate to the services section and click on “Coinskro Pay”
- Create a new app for your project under the Coinskro Pay dashboard
- Navigate to the integrations tab and copy your Secret Key from the dashboard
Keep your Secret Key secure! Never expose it in frontend code.
Before you integrate on your backend,you can test your app credentials using our demo environment at Demo Website
Step 2: Create a Payment
When a customer wants to pay, create a payment from your server:
curl -X PUT https://api.coinskro.com/payment/create \
-H "Authorization: Bearer YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": 50.00,
"currency": "PI",
"payment_type": "deposit",
"customer_email": "customer@example.com",
"success_url": "https://yoursite.com/thank-you",
"failure_url": "https://yoursite.com/payment-failed"
}'
Step 3: Redirect Customer
The API returns a PaymentURL. Redirect your customer to this URL to complete payment:
{
"message": "Payment created",
"data": {
"PaymentData": {
"payment_reference": "PAY_abc123xyz",
"amount": 50.00,
"currency": "PI"
},
"PaymentURL": "https://pay.coinskro.com?reference=PAY_abc123xyz&app=..."
}
}
Step 4: Handle the Result
After payment, the customer is redirected to your success_url or failure_url. For reliable order fulfillment, always use webhooks.
Integration Flow
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Your Site │────▶│ Your API │────▶│ Coinskro Pay│
│ (Frontend) │ │ (Backend) │ │ API │
└─────────────┘ └─────────────┘ └─────────────┘
│ │ │
│ 1. Checkout │ │
│─────────────────▶│ │
│ │ 2. Create Payment│
│ │─────────────────▶│
│ │ │
│ │ 3. Payment URL │
│ │◀─────────────────│
│ 4. Redirect │ │
│◀─────────────────│ │
│ │ │
│ 5. Customer pays on Coinskro │
│─────────────────────────────────────▶│
│ │ │
│ │ 6. Webhook │
│ │◀─────────────────│
│ │ │
│ 7. Order Complete│ │
│◀─────────────────│ │
│ │ │
Next Steps
| Guide | Description |
|---|---|
| Create Payments | Learn all payment options |
| Handle Webhooks | Get real-time payment notifications |
| Code Examples | Copy-paste examples in your language |
| Testing | Test your integration before going live |
| Error Handling | Handle errors gracefully |
Need Help?
- 📧 Email: support@coinskro.com
- 💬 Telegram: Join our community
- 🐦 X: Follow us
- 📚 FAQ: Frequently Asked Questions