2025-09-18 05:51:17 +07:00
|
|
|
class ApiPath {
|
|
|
|
|
static String checkPhone = '/api/v1/customer-auth/check-phone';
|
2025-09-18 06:03:02 +07:00
|
|
|
static String register = '/api/v1/customer-auth/register/start';
|
2025-09-18 06:38:50 +07:00
|
|
|
static String verify = '/api/v1/customer-auth/register/verify-otp';
|
2025-09-18 06:57:08 +07:00
|
|
|
static String setPassword = '/api/v1/customer-auth/register/set-password';
|
2025-09-18 08:17:24 +07:00
|
|
|
static String login = '/api/v1/customer-auth/login';
|
2025-09-18 09:03:50 +07:00
|
|
|
static String resend = '/api/v1/customer-auth/resend-otp';
|
2025-09-18 10:39:54 +07:00
|
|
|
|
2026-10-01 01:43:22 +07:00
|
|
|
// Wallet
|
|
|
|
|
static String wallet = '/api/v1/customer/wallet';
|
|
|
|
|
static String walletTransactions = '/api/v1/customer/wallet/transactions';
|
|
|
|
|
static String walletExpiring = '/api/v1/customer/wallet/expiring';
|
|
|
|
|
static String walletExchangePreview =
|
|
|
|
|
'/api/v1/customer/wallet/exchange/preview';
|
|
|
|
|
static String walletExchange = '/api/v1/customer/wallet/exchange';
|
|
|
|
|
static String walletTransferRecipient =
|
|
|
|
|
'/api/v1/customer/wallet/transfer/recipient';
|
|
|
|
|
static String walletTransfer = '/api/v1/customer/wallet/transfer';
|
|
|
|
|
|
|
|
|
|
// Outlet & order
|
|
|
|
|
static String outlets = '/api/v1/customer/outlets';
|
|
|
|
|
static String orders = '/api/v1/customer/orders';
|
|
|
|
|
|
|
|
|
|
// PIN
|
|
|
|
|
static String pin = '/api/v1/customer/pin';
|
|
|
|
|
static String pinStatus = '/api/v1/customer/pin/status';
|
|
|
|
|
static String pinOtp = '/api/v1/customer/pin/otp';
|
|
|
|
|
static String pinReset = '/api/v1/customer/pin/reset';
|
|
|
|
|
|
2026-10-10 02:33:16 +07:00
|
|
|
// Voucher
|
|
|
|
|
static String vouchers = '/api/v1/customer/vouchers';
|
|
|
|
|
static String voucherRedemptions = '/api/v1/customer/vouchers/redemptions';
|
|
|
|
|
static String voucherRedeem(String voucherId) =>
|
|
|
|
|
'/api/v1/customer/vouchers/$voucherId/redeem';
|
|
|
|
|
|
2026-10-01 01:43:22 +07:00
|
|
|
// Device (push notification)
|
|
|
|
|
static String devices = '/api/v1/customer/devices';
|
2025-09-18 05:51:17 +07:00
|
|
|
}
|