Endpoint public safe tidak membutuhkan token dan hanya menampilkan data publik ringan seperti status API, katalog paket, metode pembayaran aktif, dan artikel.
Endpoint /me wajib memakai User API Token. Data user, invoice, order, saldo, dan deposit selalu diambil dari akun pemilik token.
Jangan menyimpan User API Token di frontend JavaScript, HTML publik, URL query, atau repository publik. Gunakan backend/server/bot sebagai perantara.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LeuwongRR User API","colors":{"primary":"#7eff2f","light":"#7eff2f","dark":"#7eff2f"},"api":{"openapi":"api-reference/openapi.json","params":{"expanded":"all"},"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","javascript","php"],"prefill":true,"autogenerate":true},"url":"full"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dksan03","hasAudioNarration":false,"actualSubdomain":"dksan03","customDomains":["docs.leuwongrr.online"],"gitSource":{"type":"github","owner":"dksan03","repo":"leuwongrr-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20d7a90ef2d296d8db25ab","collectionId":"b52eaf04-ae7d-40a6-92dd-09d34dd288fc","schemaVersion":"v2"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6a2ffc6a81b6332a6d7622d0:failure","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Mulai di Sini","count":11},{"language":"default","tag":"Endpoint User API","count":11},{"language":"default","tag":"Endpoint Publik Aman","count":6},{"language":"default","tag":"API Reference","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/introduction","slug":"/api-reference/introduction","pageMetadata":{"title":"API Reference","description":"Reference endpoint REST API v1 LeuwongRR untuk public safe endpoint dan User API.","href":"/api-reference/introduction"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Reference endpoint REST API v1 LeuwongRR untuk public safe endpoint dan User API.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`api-reference`,children:`API Reference`}),`\n`,_jsx(_components.p,{children:`Reference ini hanya berisi endpoint yang aman untuk publik dan endpoint user-only berbasis User API Token.`}),`\n`,_jsx(Heading,{level:`2`,id:`public-safe-endpoint`,children:`Public safe endpoint`}),`\n`,_jsx(_components.p,{children:`Endpoint public safe tidak membutuhkan token dan hanya menampilkan data publik ringan seperti status API, katalog paket, metode pembayaran aktif, dan artikel.`}),`\n`,_jsx(Heading,{level:`2`,id:`user-endpoint`,children:`User endpoint`}),`\n`,_jsxs(_components.p,{children:[`Endpoint `,_jsx(_components.code,{children:`/me`}),` wajib memakai User API Token. Data user, invoice, order, saldo, dan deposit selalu diambil dari akun pemilik token.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Jangan menyimpan User API Token di frontend JavaScript, HTML publik, URL query, atau repository publik. Gunakan backend/server/bot sebagai perantara.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"API Reference","description":"Reference endpoint REST API v1 LeuwongRR untuk public safe endpoint dan User API.","href":"/api-reference/introduction"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"API Reference","slug":"api-reference","depth":1,"children":[]},{"title":"Public safe endpoint","slug":"public-safe-endpoint","depth":2,"children":[]},{"title":"User endpoint","slug":"user-endpoint","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dksan03/01ba4719c80b6fe9/snippets/cors-express.js"],"subdomain":"dksan03","siteName":"LeuwongRR User API","title":"API Reference - LeuwongRR User API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-01T07:53:31.281Z","originalFileLocation":"api-reference/introduction.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Reference endpoint REST API v1 LeuwongRR untuk public safe endpoint dan User API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"LeuwongRR User API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/dksan03/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/dksan03/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/dksan03/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/dksan03/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"API Reference - LeuwongRR User API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Reference endpoint REST API v1 LeuwongRR untuk public safe endpoint dan User API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LeuwongRR User API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.leuwongrr.online/api-reference/introduction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dksan03.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=API+Reference\u0026amp;description=Reference+endpoint+REST+API+v1+LeuwongRR+untuk+public+safe+endpoint+dan+User+API.\u0026amp;theme=04452e0742e3786fecc809e1\u0026amp;signature=965b952ab498d3084be3aff5614c0ebe7f5505234407dc00a8720d8d2d6afbaa\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"API Reference - LeuwongRR User API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Reference endpoint REST API v1 LeuwongRR untuk public safe endpoint dan User API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dksan03.mintlify.app/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=API+Reference\u0026amp;description=Reference+endpoint+REST+API+v1+LeuwongRR+untuk+public+safe+endpoint+dan+User+API.\u0026amp;theme=04452e0742e3786fecc809e1\u0026amp;signature=965b952ab498d3084be3aff5614c0ebe7f5505234407dc00a8720d8d2d6afbaa\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/dksan03/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LeuwongRR User API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7eff2f\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.leuwongrr.online/api-reference/introduction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/introduction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.leuwongrr.online/#organization\",\"name\":\"LeuwongRR User API\",\"url\":\"https://docs.leuwongrr.online\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.leuwongrr.online#website\",\"name\":\"LeuwongRR User API\",\"url\":\"https://docs.leuwongrr.online\",\"publisher\":{\"@id\":\"https://docs.leuwongrr.online/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.leuwongrr.online/api-reference/introduction#webpage\",\"url\":\"https://docs.leuwongrr.online/api-reference/introduction\",\"name\":\"API Reference\",\"description\":\"Reference endpoint REST API v1 LeuwongRR untuk public safe endpoint dan User API.\",\"dateModified\":\"2026-05-01T07:53:31.281Z\",\"isPartOf\":{\"@id\":\"https://docs.leuwongrr.online#website\"},\"breadcrumb\":{\"@id\":\"https://docs.leuwongrr.online/api-reference/introduction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.leuwongrr.online/api-reference/introduction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"LeuwongRR User API\",\"item\":\"https://docs.leuwongrr.online\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Reference\",\"item\":\"https://docs.leuwongrr.online/api-reference/introduction\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.leuwongrr.online/api-reference/introduction#article\",\"headline\":\"API Reference\",\"name\":\"API Reference\",\"description\":\"Reference endpoint REST API v1 LeuwongRR untuk public safe endpoint dan User API.\",\"url\":\"https://docs.leuwongrr.online/api-reference/introduction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.leuwongrr.online/api-reference/introduction#webpage\"},\"dateModified\":\"2026-05-01T07:53:31.281Z\",\"publisher\":{\"@id\":\"https://docs.leuwongrr.online/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.leuwongrr.online#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LeuwongRR User API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"LeuwongRR User API","nav":{"global":null,"groups":[{"group":"Mulai di Sini","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Authentication","href":"/authentication"},{"title":"Security User-Only","href":"/security-user-only"},{"title":"User API Access","href":"/user-api-access"},{"title":"Available Features","href":"/available-features"},{"title":"Check Saldo","href":"/balance"},{"title":"Create Order API","href":"/create-order-api"},{"title":"Sandbox \u0026 Production API Key","href":"/sandbox-production-keys"},{"title":"Rate Limits","href":"/rate-limits"},{"title":"Errors","description":"Format error dan kode status umum LeuwongRR User API.","href":"/errors"}]},{"group":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"group":"Endpoint Publik Aman","pages":[{"title":"Check API health","description":"Cek status LeuwongRR REST API v1.","deprecated":null,"version":null,"sidebarTitle":"Health check","openapi":"/api-reference/openapi.json get /api/v1/health","href":"/api-reference/health/check-api-health"},{"title":"Validate User API Token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/auth/token/validate","href":"/api-reference/auth/validate-user-api-token"},{"title":"List active Robux packages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/catalog/robux-packages","href":"/api-reference/catalog/list-active-robux-packages"},{"title":"List active payment methods","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/catalog/payment-methods","href":"/api-reference/catalog/list-active-payment-methods"},{"title":"List published articles","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/articles","href":"/api-reference/articles/list-published-articles"},{"title":"Get published article detail","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/articles/{slug}","href":"/api-reference/articles/get-published-article-detail"}]},{"group":"Endpoint User API","pages":[{"title":"Get current user","deprecated":null,"version":null,"sidebarTitle":"Current user","openapi":"/api-reference/openapi.json get /api/v1/me","href":"/api-reference/user/get-current-user"},{"title":"Get own dashboard summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/me/dashboard-summary","href":"/api-reference/dashboard/get-own-dashboard-summary"},{"title":"Check own balance","deprecated":null,"version":null,"sidebarTitle":"Check balance","openapi":"/api-reference/openapi.json get /api/v1/me/balance","href":"/api-reference/balance/check-own-balance"},{"title":"List own balance transactions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/me/balance/transactions","href":"/api-reference/balance/list-own-balance-transactions"},{"title":"List own deposits","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/me/deposits","href":"/api-reference/deposits/list-own-deposits"},{"title":"Get own deposit detail","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/me/deposits/{invoice}","href":"/api-reference/deposits/get-own-deposit-detail"},{"title":"Create own order","deprecated":null,"version":null,"sidebarTitle":"Create order","openapi":"/api-reference/openapi.json post /api/v1/me/orders","href":"/api-reference/orders/create-own-order"},{"title":"List own orders","deprecated":null,"version":null,"sidebarTitle":"List orders","openapi":"/api-reference/openapi.json get /api/v1/me/orders","href":"/api-reference/orders/list-own-orders"},{"title":"Get own order","deprecated":null,"version":null,"sidebarTitle":"Order detail","openapi":"/api-reference/openapi.json get /api/v1/me/orders/{invoice}","href":"/api-reference/orders/get-own-order"},{"title":"Get own invoice","deprecated":null,"version":null,"sidebarTitle":"Invoice detail","openapi":"/api-reference/openapi.json get /api/v1/me/invoices/{invoice}","href":"/api-reference/invoices/get-own-invoice"},{"title":"Get own invoice status","deprecated":null,"version":null,"sidebarTitle":"Invoice status","openapi":"/api-reference/openapi.json get /api/v1/me/invoices/{invoice}/status","href":"/api-reference/invoices/get-own-invoice-status"}]}]},"basePath":"","title":"API Reference - LeuwongRR User API","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":[],"chunks":[]}