Create OrderKuota client
Configuration with username and password
Checks current account balance from QRIS menu data.
Promise with balance and QRIS balance information
Fetches available QRIS menu options and account status.
Promise with QRIS menu data and account information
Generate QR code image from QRIS string
QRIS string to convert
QR code generation options
Promise with base64 encoded QR image
Generates QRIS Ajaib payment with specified amount.
Payment amount in Indonesian Rupiah (default: 1000)
Promise with QRIS payment data and QR string
Gets current configuration without sensitive data.
Configuration object excluding password
Request OTP for authentication
Promise with OTP response including email
Get QRIS transaction history
Type of history ('qris_history' or 'qris_ajaib_history')
Optional filters for history
Promise with transaction history
Authenticates and retrieves access token using OTP.
OTP code received via email
Promise with authentication token and user data
Gets current authentication token.
Current token or undefined if not set
Checks if authentication token is available.
True if token is set and ready for API calls
Validates if configuration has required fields.
True if username and password are both set
Sets authentication token manually.
Authentication token to set
OrderKuota API wrapper for Indonesian QRIS payment system.
Supports OTP authentication, token management, QRIS payments, and QR code generation.
Example