API v1 Overview
API v1 is the stable, legacy version of the EasySlip Developer API. It includes TrueMoney Wallet verification and QR code generation features not available in v2.
Base URL
https://developer.easyslip.com/api/v1Key Features
- Bank Slip Verification - Verify Thai bank transfer slips
- TrueMoney Wallet Verification - Verify TrueMoney wallet transfers
- QR Code Generation - Generate PromptPay and merchant QR codes
- Duplicate Detection - Detect duplicate slip submissions
Response Format
All responses follow this structure:
Success Response:
json
{
"status": 200,
"data": { ... }
}Error Response:
json
{
"status": 400,
"message": "error_code"
}Endpoints
| Endpoint | Method | Description |
|---|---|---|
/verify | GET | Verify bank slip by payload |
/verify | POST | Verify bank slip by image/URL/Base64 |
/verify/truewallet | POST | Verify TrueMoney wallet |
/me | GET | Get application information |
/qr/generate | POST | Generate QR code |
Authentication
All requests require a Bearer token:
http
Authorization: Bearer YOUR_API_KEYSee Authentication Guide for details.
Quick Examples
Verify Bank Slip by Payload
bash
curl -X GET "https://developer.easyslip.com/api/v1/verify?payload=YOUR_QR_PAYLOAD" \
-H "Authorization: Bearer YOUR_API_KEY"Verify Bank Slip by Image
bash
curl -X POST https://developer.easyslip.com/api/v1/verify \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@/path/to/slip.jpg"Get Application Info
bash
curl -X GET https://developer.easyslip.com/api/v1/me \
-H "Authorization: Bearer YOUR_API_KEY"Error Codes
| Code | HTTP Status | Description |
|---|---|---|
unauthorized | 401 | Invalid or missing API key |
access_denied | 403 | IP not in whitelist |
application_expired | 403 | Subscription expired |
application_deactivated | 403 | Application deactivated |
quota_exceeded | 403 | API quota exceeded |
invalid_payload | 400 | Invalid QR payload |
duplicate_slip | 400 | Slip already verified |
slip_not_found | 404 | Slip not found |
server_error | 500 | Internal server error |
Rate Limits
Requests are limited based on your subscription plan. Check your quota using the /me endpoint.
Upgrading to v2
For new integrations, consider using API v2 for:
- Standardized response format
- Account matching features
- Amount validation
- Better error handling
See Version Comparison for migration details.
Next Steps
- Me Endpoint - Get application info
- Bank Slip Verification - Verify bank slips
- TrueMoney Verification - Verify TrueMoney transfers
- QR Code Generation - Generate QR codes