Quick Start Guide
Get up and running with GlobalPay.bt in minutes.
Prerequisites
Before you begin, ensure you have:
- A registered business in Bhutan
- Bank of Bhutan IPG merchant account
- BOB IPG API credentials (Merchant ID, API Key, Terminal ID)
Step 1: Create Your Account
- Visit app.gopay.bt/sign-up
- Fill in your business details
- Verify your email address
- Complete your profile
Step 2: Configure BOB IPG Credentials
Keep your API credentials secure. Never share them publicly or commit them to version control.
- Navigate to Settings > Payment Gateway
- Enter your BOB IPG credentials:
- Merchant ID
- API Key
- Terminal ID
- Gateway URL (provided by BOB)
- Click Save Configuration
Step 3: Create Your First Invoice
1. Go to Invoices > Create New\n2. Fill in customer details\n3. Add line items\n4. Click "Create & Send"Step 4: Test a Payment
Use these test card numbers to verify your integration:
| Card Type | Card Number | CVV | Expiry | |-----------|-------------|-----|--------| | Visa | 4111 1111 1111 1111 | 123 | Any future date | | Mastercard | 5555 5555 5555 4444 | 123 | Any future date |
Test mode transactions won't charge real money. Use the dashboard toggle to switch between test and live modes.
Step 5: Handle Webhooks
Set up webhooks to receive real-time payment notifications:
- Go to Settings > Webhooks
- Add your webhook URL (e.g.,
https://yourdomain.com/webhooks/payments) - Select events to subscribe to
- Save your webhook secret for signature verification
Example webhook handler:
// Node.js example
app.post('/webhooks/payments', (req, res) => {
const signature = req.headers['x-globalpay-signature'];
const payload = req.body;
// Verify signature
if (verifySignature(payload, signature)) {
switch (payload.event) {
case 'payment.completed':
// Handle successful payment
break;
case 'payment.failed':
// Handle failed payment
break;
}
}
res.sendStatus(200);
});
Step 6: Go Live
Once you've tested thoroughly:
- Switch to Live Mode in the dashboard
- Use your production BOB IPG credentials
- Start accepting real payments
Congratulations! You're now ready to accept payments with GlobalPay.bt.
Next Steps
- Authentication - Learn about API authentication
- API Reference - Explore all API endpoints
- Integration Guides - Detailed integration tutorials
Need Help?
- Check our Help Center
- Email us at support@gopay.bt
- Call +975 77 88 33 44