Base URL: https://cambotopup.com/api/reseller/
Retrieve user account details using a token.
{'token': 'your_token_here'}
{'status': 'Success', 'gmail': '[email protected]', 'full_name': 'John Doe', 'balance': '100.50', 'created_at': '2024-02-19 15:30:00'}
{'status': 'error', 'message': 'Invalid token'}
Create a new order using available balance.
{'token': 'your_token_here', 'user_id': '123456', 'server_id': '50001234', 'package': 'MLBB_500_Diamonds', 'reference': 'ORDER123456'}
{'status': 'Success', 'charge': '9.50', 'balance_after_charge': '90.50', 'order_ID': 'ORDER123456'}
{'status': 'error', 'message': 'Insufficient balance'}
Check the status of an order.
{'token': 'your_token_here', 'order_id': 'ORDER123456'}
{'status': 'Success', 'topup_status': 'PENDING', 'user_id': '123456', 'server_id': '50001234', 'item': 'MLBB_500_Diamonds', 'price': '9.50'}
{'status': 'error', 'message': 'Order not found'}
Retrieve available items and their prices.
{'token': 'your_token_here'}
{'status': 'Success', 'items': [{'game_code': 'MLBB', 'item': '500 Diamonds', 'price': '9.50'}, {'game_code': 'FF', 'item': '1000 Diamonds', 'price': '18.00'}]}
{'status': 'error', 'message': 'No items found'}