refactor: finalize account-based billing and env cleanup
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@extends('site.layout')
|
||||
|
||||
@section('title', 'API Docs - Dewemoji')
|
||||
@section('meta_description', 'Dewemoji API docs for emoji search, categories, license verification, activation, and system endpoints.')
|
||||
@section('meta_description', 'Dewemoji API docs for emoji search, categories, account API keys, and system endpoints.')
|
||||
|
||||
@push('head')
|
||||
<style>
|
||||
@@ -122,7 +122,6 @@
|
||||
</div>
|
||||
<ul class="mt-3 list-disc pl-5 text-sm text-gray-300 space-y-1">
|
||||
<li><code>Authorization</code> or <code>X-Api-Key</code> for Personal API keys</li>
|
||||
<li><code>X-License-Key</code> or <code>?key=</code> is only used for <code>/license/*</code> endpoints</li>
|
||||
<li><code>X-Account-Id</code> (optional usage association)</li>
|
||||
</ul>
|
||||
</section>
|
||||
@@ -145,7 +144,7 @@
|
||||
<td class="py-2 pr-6"><strong>Free (public)</strong></td>
|
||||
<td class="py-2 pr-6 text-right">20</td>
|
||||
<td class="py-2 pr-6">None</td>
|
||||
<td class="py-2 pr-6">Hourly public limit (if enabled)</td>
|
||||
<td class="py-2 pr-6">Server-level only</td>
|
||||
<td class="py-2">Public dataset (EN + ID) only.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -167,9 +166,9 @@
|
||||
<li><code>/emoji?slug=<slug></code> — single emoji (query)</li>
|
||||
<li><code>/emoji/<slug></code> — single emoji (pretty URL)</li>
|
||||
<li><code>/categories</code> — category map</li>
|
||||
<li><code>/license/verify</code> — license check</li>
|
||||
<li><code>/license/activate</code> — bind profile</li>
|
||||
<li><code>/license/deactivate</code> — unbind profile</li>
|
||||
<li><code>/user/register</code> — create account</li>
|
||||
<li><code>/user/login</code> — account login</li>
|
||||
<li><code>/user/apikeys</code> — manage API keys (Personal)</li>
|
||||
</ul>
|
||||
|
||||
<div class="mt-5">
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
"description": "Personal plan unlocks Dewemoji extension and API access.",
|
||||
"brand": {"@@type": "Brand", "name": "Dewemoji"},
|
||||
"offers": [
|
||||
{"@@type":"Offer","price":"30000","priceCurrency":"IDR","availability":"https://schema.org/InStock","url":"https://dwindown.gumroad.com/l/dewemoji-pro-subscription"},
|
||||
{"@@type":"Offer","price":"300000","priceCurrency":"IDR","availability":"https://schema.org/InStock","url":"https://dwindown.gumroad.com/l/dewemoji-pro-subscription"}
|
||||
{"@@type":"Offer","price":"30000","priceCurrency":"IDR","availability":"https://schema.org/InStock","url":"{{ route('pricing') }}"},
|
||||
{"@@type":"Offer","price":"300000","priceCurrency":"IDR","availability":"https://schema.org/InStock","url":"{{ route('pricing') }}"}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -23,7 +23,7 @@
|
||||
"name": "Dewemoji Lifetime",
|
||||
"description": "Lifetime access to Dewemoji extension and API.",
|
||||
"brand": {"@@type": "Brand", "name": "Dewemoji"},
|
||||
"offers": {"@@type":"Offer","price":"900000","priceCurrency":"IDR","availability":"https://schema.org/InStock","url":"https://dwindown.gumroad.com/l/dewemoji-pro-lifetime"}
|
||||
"offers": {"@@type":"Offer","price":"900000","priceCurrency":"IDR","availability":"https://schema.org/InStock","url":"{{ route('pricing') }}"}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -120,7 +120,7 @@
|
||||
<div class="max-w-5xl mx-auto">
|
||||
<div class="text-center mb-12">
|
||||
<h1 class="font-display text-4xl md:text-5xl font-bold mb-3">Supercharge your <span class="text-gradient">emoji workflow</span></h1>
|
||||
<p class="text-gray-400">Use Dewemoji for search, extension, and API in one license system.</p>
|
||||
<p class="text-gray-400">Use Dewemoji for search, extension, and API in one account system.</p>
|
||||
</div>
|
||||
|
||||
@php
|
||||
|
||||
@@ -71,14 +71,14 @@
|
||||
<ul class="legal-ul">
|
||||
<li>API usage metadata (endpoint, timing, status)</li>
|
||||
<li>Basic device/browser information</li>
|
||||
<li>License validation and activation metadata</li>
|
||||
<li>Account and subscription metadata needed for access control</li>
|
||||
</ul>
|
||||
|
||||
<h2 class="legal-h2">2. How we use information</h2>
|
||||
<ul class="legal-ul">
|
||||
<li>Provide and improve search quality and API performance</li>
|
||||
<li>Prevent abuse and enforce fair usage limits</li>
|
||||
<li>Support license verification and activation workflows</li>
|
||||
<li>Support account, billing, and API-key workflows</li>
|
||||
</ul>
|
||||
|
||||
<h2 class="legal-h2">3. Cookies and local storage</h2>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@extends('site.layout')
|
||||
|
||||
@section('title', 'Support - Dewemoji')
|
||||
@section('meta_description', 'Get help with Dewemoji installation, Pro activation, API usage, billing, and common troubleshooting.')
|
||||
@section('meta_description', 'Get help with Dewemoji account setup, API usage, billing, and common troubleshooting.')
|
||||
|
||||
@push('jsonld')
|
||||
<script type="application/ld+json">
|
||||
@@ -9,9 +9,9 @@
|
||||
"@@context": "https://schema.org",
|
||||
"@@type": "FAQPage",
|
||||
"mainEntity": [
|
||||
{"@@type":"Question","name":"How do I activate Pro?","acceptedAnswer":{"@@type":"Answer","text":"Open Dewemoji settings, paste your license key in Pro tab, and activate."}},
|
||||
{"@@type":"Question","name":"How many devices can I use?","acceptedAnswer":{"@@type":"Answer","text":"One license can activate up to 3 Chrome profiles."}},
|
||||
{"@@type":"Question","name":"How do I use my key in API?","acceptedAnswer":{"@@type":"Answer","text":"Send Authorization: Bearer YOUR_LICENSE_KEY header in requests."}}
|
||||
{"@@type":"Question","name":"How do I upgrade to Personal?","acceptedAnswer":{"@@type":"Answer","text":"Open Pricing, choose Personal Monthly or Annual, then complete checkout with PayPal or QRIS."}},
|
||||
{"@@type":"Question","name":"Can free accounts use API keys?","acceptedAnswer":{"@@type":"Answer","text":"No. API key management is available on Personal only."}},
|
||||
{"@@type":"Question","name":"How do I use API in Personal plan?","acceptedAnswer":{"@@type":"Answer","text":"Create an API key in Dashboard and send Authorization: Bearer YOUR_API_KEY in requests."}}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
@@ -62,25 +62,24 @@
|
||||
<div class="flex-1 overflow-y-auto p-6 md:p-10">
|
||||
<div class="max-w-5xl mx-auto grid gap-4 md:grid-cols-2">
|
||||
<section class="glass-card rounded-2xl p-5">
|
||||
<h2 class="font-semibold mb-2">Install & activate</h2>
|
||||
<h2 class="font-semibold mb-2">Install & get started</h2>
|
||||
<ol class="list-decimal pl-5 text-sm text-gray-300 space-y-1">
|
||||
<li>Install Dewemoji extension.</li>
|
||||
<li>Open settings and go to Pro tab.</li>
|
||||
<li>Paste your license key and activate.</li>
|
||||
<li>Sign in with your Dewemoji account.</li>
|
||||
<li>Upgrade in Pricing if you need Personal features.</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<section class="glass-card rounded-2xl p-5">
|
||||
<h2 class="font-semibold mb-2">API quick start</h2>
|
||||
<pre class="text-xs overflow-x-auto bg-black/30 rounded-lg p-3"><code>curl -H "Authorization: Bearer YOUR_LICENSE_KEY" \
|
||||
<pre class="text-xs overflow-x-auto bg-black/30 rounded-lg p-3"><code>curl -H "Authorization: Bearer YOUR_API_KEY" \
|
||||
"{{ url('/v1/emojis') }}?q=love&limit=20"</code></pre>
|
||||
</section>
|
||||
|
||||
<section class="glass-card rounded-2xl p-5 md:col-span-2">
|
||||
<h2 class="font-semibold mb-2">Common issues</h2>
|
||||
<ul class="list-disc pl-5 text-sm text-gray-300 space-y-1">
|
||||
<li><strong>License limit reached:</strong> deactivate old profile first.</li>
|
||||
<li><strong>API 401 invalid key:</strong> ensure key is active and valid.</li>
|
||||
<li><strong>API 401 invalid key:</strong> ensure key is active and belongs to a Personal account.</li>
|
||||
<li><strong>Insert not working:</strong> focus target input and retry.</li>
|
||||
</ul>
|
||||
<p class="mt-4 text-sm text-gray-400">Need direct help? Email <a class="text-brand-oceanSoft hover:text-white" href="mailto:hello@dewemoji.com">hello@dewemoji.com</a>.</p>
|
||||
|
||||
@@ -68,12 +68,12 @@
|
||||
<h2 class="legal-h2">1. Acceptable use</h2>
|
||||
<ul class="legal-ul">
|
||||
<li>Use the service lawfully and without abuse.</li>
|
||||
<li>Do not attempt to bypass license controls or request limits.</li>
|
||||
<li>Do not attempt to bypass account controls or request limits.</li>
|
||||
<li>Do not scrape or redistribute restricted content in violation of terms.</li>
|
||||
</ul>
|
||||
|
||||
<h2 class="legal-h2">2. Accounts and licenses</h2>
|
||||
<p class="legal-p">Paid features require a valid license key. Device/profile activation limits apply based on plan rules.</p>
|
||||
<h2 class="legal-h2">2. Accounts and subscriptions</h2>
|
||||
<p class="legal-p">Paid features require an active Personal subscription on your account.</p>
|
||||
|
||||
<h2 class="legal-h2">3. Service availability</h2>
|
||||
<p class="legal-p">We continuously improve stability, but uptime is not guaranteed. Features may change over time.</p>
|
||||
|
||||
Reference in New Issue
Block a user