Pada halaman User API Access, user bisa membuat dua jenis API key:
Mode
Prefix token
Kegunaan
Sandbox
lrrs_v1_
Untuk uji coba integrasi bot/website tanpa membuat charge payment gateway real. Invoice test memakai prefix SBX-.
Production
lrrp_v1_
Untuk transaksi live/production. Gunakan hanya ketika integrasi sudah siap.
Jangan memakai Production API Key untuk development bot. Mulai dari Sandbox terlebih dahulu, lalu pindah ke Production setelah flow sudah valid.
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":"user-api-access","slug":"/user-api-access","pageMetadata":{"title":"User API Access","description":"Panduan membuat, menggunakan, dan mengamankan User API Token LeuwongRR.","href":"/user-api-access"},"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: \"Panduan membuat, menggunakan, dan mengamankan User API Token LeuwongRR.\"\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`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`user-api-access`,children:`User API Access`}),`\n`,_jsx(_components.p,{children:`Halaman User API Access digunakan member untuk membuat dan mengelola token API pribadi.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://leuwongrr.online/user/api-access`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`fungsi-user-api-token`,children:`Fungsi User API Token`}),`\n`,_jsx(_components.p,{children:`Token ini dipakai untuk membaca dan memproses data milik akun sendiri melalui LeuwongRR User API.`}),`\n`,_jsx(_components.p,{children:`Dengan token ini, kamu bisa:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Cek profil akun sendiri`}),`\n`,_jsx(_components.li,{children:`Cek saldo akun sendiri`}),`\n`,_jsx(_components.li,{children:`Melihat mutasi saldo sendiri`}),`\n`,_jsx(_components.li,{children:`Melihat daftar order sendiri`}),`\n`,_jsx(_components.li,{children:`Cek detail order berdasarkan invoice`}),`\n`,_jsx(_components.li,{children:`Cek detail invoice sendiri`}),`\n`,_jsx(_components.li,{children:`Cek status pembayaran invoice`}),`\n`,_jsx(_components.li,{children:`Melihat daftar deposit sendiri`}),`\n`,_jsx(_components.li,{children:`Membuat order dari backend/bot pribadi`}),`\n`,_jsx(_components.li,{children:`Menghubungkan akun ke website atau bot pribadi`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`hak-akses-token`,children:`Hak akses token`}),`\n`,_jsx(_components.p,{children:`Token user hanya berlaku untuk data milik akun pembuat token.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Akses`}),_jsx(_components.th,{children:`Status`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Cek profil sendiri`}),_jsx(_components.td,{children:`Diizinkan`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Cek saldo sendiri`}),_jsx(_components.td,{children:`Diizinkan`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Cek order sendiri`}),_jsx(_components.td,{children:`Diizinkan`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Cek invoice sendiri`}),_jsx(_components.td,{children:`Diizinkan`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Cek deposit sendiri`}),_jsx(_components.td,{children:`Diizinkan`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Buat order untuk akun sendiri`}),_jsx(_components.td,{children:`Diizinkan`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Cek invoice user lain`}),_jsx(_components.td,{children:`Tidak diizinkan`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Ubah konfigurasi sistem`}),_jsx(_components.td,{children:`Tidak diizinkan`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Manipulasi harga/status transaksi`}),_jsx(_components.td,{children:`Tidak diizinkan`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`cara-membuat-token`,children:`Cara membuat token`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Login ke LeuwongRR`}),`\n`,_jsx(_components.li,{children:`Buka halaman User API Access`}),`\n`,_jsxs(_components.li,{children:[`Pilih mode token: `,_jsx(_components.strong,{children:`Sandbox`}),` atau `,_jsx(_components.strong,{children:`Production`})]}),`\n`,_jsx(_components.li,{children:`Klik generate token`}),`\n`,_jsx(_components.li,{children:`Salin token yang muncul`}),`\n`,_jsx(_components.li,{children:`Simpan token di backend/server/bot kamu`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`cara-memakai-token`,children:`Cara memakai token`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_USER_API_TOKEN\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Accept: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://leuwongrr.online/api/v1/me`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`contoh-untuk-bot-discord-atau-telegram`,children:`Contoh untuk bot Discord atau Telegram`}),`\n`,_jsx(_components.p,{children:`User mengetik:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/cek_invoice INV202605010001`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Backend bot melakukan request:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_USER_API_TOKEN\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Accept: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://leuwongrr.online/api/v1/me/invoices/INV202605010001/status`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Bot menampilkan hasil:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Invoice: INV202605010001`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Status: paid`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Type: order`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`rekomendasi-implementasi`,children:`Rekomendasi implementasi`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Pakai environment variable`}),`\n`,_jsx(_components.li,{children:`Jangan hardcode token di source code publik`}),`\n`,_jsx(_components.li,{children:`Batasi request otomatis agar tidak terkena rate limit`}),`\n`,_jsxs(_components.li,{children:[`Gunakan retry dengan jeda saat menerima `,_jsx(_components.code,{children:`429`})]}),`\n`,_jsx(_components.li,{children:`Regenerate token jika server kamu pernah bocor`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`sandbox-dan-production-api-key`,children:`Sandbox dan Production API Key`}),`\n`,_jsx(_components.p,{children:`Pada halaman User API Access, user bisa membuat dua jenis API key:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Mode`}),_jsx(_components.th,{children:`Prefix token`}),_jsx(_components.th,{children:`Kegunaan`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Sandbox`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`lrrs_v1_`})}),_jsxs(_components.td,{children:[`Untuk uji coba integrasi bot/website tanpa membuat charge payment gateway real. Invoice test memakai prefix `,_jsx(_components.code,{children:`SBX-`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Production`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`lrrp_v1_`})}),_jsx(_components.td,{children:`Untuk transaksi live/production. Gunakan hanya ketika integrasi sudah siap.`})]})]})]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Jangan memakai Production API Key untuk development bot. Mulai dari Sandbox terlebih dahulu, lalu pindah ke Production setelah flow sudah valid.`})})]})}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":"User API Access","description":"Panduan membuat, menggunakan, dan mengamankan User API Token LeuwongRR.","href":"/user-api-access"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"User API Access","slug":"user-api-access","depth":1,"children":[]},{"title":"Fungsi User API Token","slug":"fungsi-user-api-token","depth":2,"children":[]},{"title":"Hak akses token","slug":"hak-akses-token","depth":2,"children":[]},{"title":"Cara membuat token","slug":"cara-membuat-token","depth":2,"children":[]},{"title":"Cara memakai token","slug":"cara-memakai-token","depth":2,"children":[]},{"title":"Contoh untuk bot Discord atau Telegram","slug":"contoh-untuk-bot-discord-atau-telegram","depth":2,"children":[]},{"title":"Rekomendasi implementasi","slug":"rekomendasi-implementasi","depth":2,"children":[]},{"title":"Sandbox dan Production API Key","slug":"sandbox-dan-production-api-key","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/dksan03/01ba4719c80b6fe9/snippets/cors-express.js"],"subdomain":"dksan03","siteName":"LeuwongRR User API","title":"User API Access - LeuwongRR User API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-01T07:53:34.480Z","originalFileLocation":"user-api-access.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=\"Panduan membuat, menggunakan, dan mengamankan User API Token LeuwongRR.\">\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=\"User API Access - LeuwongRR User API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Panduan membuat, menggunakan, dan mengamankan User API Token LeuwongRR.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LeuwongRR User API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.leuwongrr.online/user-api-access\">\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=Mulai+di+Sini\u0026amp;title=User+API+Access\u0026amp;description=Panduan+membuat%2C+menggunakan%2C+dan+mengamankan+User+API+Token+LeuwongRR.\u0026amp;theme=04452e0742e3786fecc809e1\u0026amp;signature=c1bead238b92f009afbbed7bab44fd5456b5e16fe50d7a5e829b41da4e8b63f4\">\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=\"User API Access - LeuwongRR User API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Panduan membuat, menggunakan, dan mengamankan User API Token LeuwongRR.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dksan03.mintlify.app/_mintlify/api/og/v2?division=Mulai+di+Sini\u0026amp;title=User+API+Access\u0026amp;description=Panduan+membuat%2C+menggunakan%2C+dan+mengamankan+User+API+Token+LeuwongRR.\u0026amp;theme=04452e0742e3786fecc809e1\u0026amp;signature=c1bead238b92f009afbbed7bab44fd5456b5e16fe50d7a5e829b41da4e8b63f4\">\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/user-api-access\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/user-api-access.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/user-api-access#webpage\",\"url\":\"https://docs.leuwongrr.online/user-api-access\",\"name\":\"User API Access\",\"description\":\"Panduan membuat, menggunakan, dan mengamankan User API Token LeuwongRR.\",\"dateModified\":\"2026-05-01T07:53:34.480Z\",\"isPartOf\":{\"@id\":\"https://docs.leuwongrr.online#website\"},\"breadcrumb\":{\"@id\":\"https://docs.leuwongrr.online/user-api-access#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.leuwongrr.online/user-api-access#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Mulai di Sini\",\"item\":\"https://docs.leuwongrr.online/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"User API Access\",\"item\":\"https://docs.leuwongrr.online/user-api-access\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.leuwongrr.online/user-api-access#article\",\"headline\":\"User API Access\",\"name\":\"User API Access\",\"description\":\"Panduan membuat, menggunakan, dan mengamankan User API Token LeuwongRR.\",\"url\":\"https://docs.leuwongrr.online/user-api-access\",\"mainEntityOfPage\":{\"@id\":\"https://docs.leuwongrr.online/user-api-access#webpage\"},\"dateModified\":\"2026-05-01T07:53:34.480Z\",\"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","description":"Kebijakan keamanan publik untuk LeuwongRR User API.","href":"/security-user-only"},{"title":"User API Access","href":"/user-api-access"},{"title":"Available Features","description":"Fitur REST API v1 yang aman untuk user, bot, website, dan dashboard ringan.","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","href":"/errors"}]},{"group":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"group":"Endpoint Publik Aman","pages":[{"title":"Check API health","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":"User API Access - LeuwongRR User API","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":[],"chunks":[]}