Logo MrikiPOS
MrikiPOSDeveloper Docs

Autentikasi

Transaksi & POS

Produk & Inventori

Shift & Kas

Struk & Notifikasi

POST/api/v1/auth/request-otpRole: PUBLIC

Kirim Kode OTP WhatsApp

Mengirim 6-digit kode verifikasi OTP ke nomor WhatsApp kasir atau owner.

Contoh Request (cURL)
curl -X POST "https://mrikipos.biz.id/api/v1/auth/request-otp" \
  -H "Content-Type: application/json" \
  -d '{
  "phone": "081234567890"
}'
Request Body (JSON)
{
  "phone": "081234567890"
}
Response 200 OK (JSON)
{
  "success": true,
  "data": {
    "message": "Kode OTP telah dikirimkan via WhatsApp",
    "expires_in": 300
  }
}