Skip to main content
POST
https://leuwongrr.online
/
api
/
v1
/
auth
/
token
/
validate
Validate User API Token
curl --request POST \
  --url https://leuwongrr.online/api/v1/auth/token/validate \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "OK",
  "data": {
    "valid": true,
    "connected": true,
    "base_url": "https://leuwongrr.online/api/v1",
    "token": {
      "name": "User API Token",
      "prefix": "lrrs_v1_",
      "environment": "sandbox",
      "last_used_at": "2026-05-01 09:00:00"
    },
    "user": {
      "id": 1,
      "name": "LeuwongRR User",
      "email": "us***@example.com",
      "status": "active",
      "balance": 25000,
      "currency": "IDR"
    },
    "next_steps": [
      "GET /api/v1/me",
      "GET /api/v1/me/balance",
      "POST /api/v1/me/orders",
      "GET /api/v1/me/invoices/{invoice}/status"
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.leuwongrr.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
default:YOUR_USER_API_TOKEN
required

Masukkan User API Token dari halaman https://leuwongrr.online/user/api-access. Gunakan tanpa prefix Bearer jika field playground sudah otomatis menambahkan Bearer.

Response

Token valid

success
boolean
required
Example:

true

message
string
required
Example:

"OK"

data
object
required