BLOX Developer Documentation
Build MYRC-native applications with BLOX APIs. Our APIs allow you to integrate fiat-to-MYRC and MYRC-to-fiat functionality directly into your platform.
API Products
Wallet API
Transfer and withdraw MYRC tokens programmatically.
Checkout API
Create payment links for customers to pay with MYRC.
Quick Start
1. Get API Credentials
Contact the BLOX team to obtain your API credentials:
- Sandbox Keys - For development and testing
- Production Keys - For live applications
API keys are managed through the Business Portal .
2. Understand Authentication
All API requests require:
- API Key - Via
blox-api-keyheader - Request Signature - RFC 9421 HTTP Message Signature for POST/PUT/PATCH/DELETE requests
curl https://api.blox.my/v1/health \
-H "blox-api-key: YOUR_API_KEY"Learn more about Authentication →
3. Choose Your Environment
| Environment | Base URL | Purpose |
|---|---|---|
| Sandbox | https://api.development.blox.my/v1 | Development & testing |
| Production | https://api.blox.my/v1 | Live applications |
4. Make Your First API Call
Test your setup with a health check:
curl "https://api.sandbox.blox.my/v1/health" \
-H "blox-api-key: $BLOX_API_KEY"Expected response:
{
"success": true,
"message": "API key is valid",
"account": {
"id": "acc_...",
"name": "Your Business Name",
"type": "BUSINESS",
"status": "ACTIVE"
}
}Integration Flow
1. Get Quote → 2. Create Order → 3. User Payment → 4. Webhook NotificationFor detailed integration steps, see our On/Offramp Integration Guide.
Key Concepts
MYRC Token
MYRC is a Malaysian Ringgit-backed stablecoin where 1 MYRC = 1 MYR. It’s available on:
- Ethereum (Chain ID: 1)
- Arbitrum One (Chain ID: 42161)
- Solana
Webhooks
Receive real-time notifications about transaction status changes:
{
"event": "transaction.completed",
"transaction_id": "txn_123",
"status": "completed"
}Rate Limits
| Environment | Limit |
|---|---|
| Sandbox | 100 requests/minute |
| Production | 1000 requests/minute |
Resources
Authentication
API keys and request signing
Environments
Sandbox vs Production setup
Error Handling
Error codes and responses
Rate Limits
Request quotas and headers
Support
- Email: support@blox.my
- GitHub: github.com/Blox-My