forked from llinsss/payCrypt_v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (44 loc) · 2.35 KB
/
Copy pathindex.html
File metadata and controls
44 lines (44 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tagg@d API Documentation</title>
<meta name="description" content="Comprehensive API documentation for the Tagg@d crypto payment platform. Covers authentication, wallets, transactions, webhooks, and more." />
<style>
body { margin: 0; padding: 0; }
</style>
<!-- Reoclyte Redoc CDN — loads Redoc and renders the OpenAPI spec -->
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"></script>
</head>
<body>
<div id="redoc-container"></div>
<script>
// Load the OpenAPI spec from the public /api/docs-json endpoint
// Falls back to a local openapi.json file for offline/static hosting
const SPEC_URL = window.__REDOC_SPEC_URL__ || '/docs/api/openapi.json';
Redoc.init(SPEC_URL, {
scrollYOffset: 50,
hideDownloadButton: false,
expandResponses: '200,201',
requiredPropsFirst: true,
sortPropsAlphabetically: true,
showWebhookVerb: true,
theme: {
colors: {
primary: { main: '#1a56db' }
},
typography: {
fontSize: '14px',
headings: {
fontFamily: 'Inter, system-ui, sans-serif',
}
},
sidebar: {
backgroundColor: '#f8fafc',
}
}
}, document.getElementById('redoc-container'));
</script>
<script>(function(){function c(){var b=a.contentDocument||(a.contentWindow&&a.contentWindow.document);if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a2160cc4ff3e5406',t:'MTc4NTA5NjY0OA=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body>
</html>