fix format

This commit is contained in:
Urko 2023-07-20 08:48:25 +02:00
parent 0c55346a94
commit 56c9d2e320
1 changed files with 23 additions and 14 deletions

View File

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -11,11 +12,13 @@
padding: 0; padding: 0;
background-color: #f4f4f4; background-color: #f4f4f4;
} }
.container { .container {
width: 80%; width: 80%;
margin: auto; margin: auto;
overflow: hidden; overflow: hidden;
} }
header { header {
background: #50b3a2; background: #50b3a2;
color: white; color: white;
@ -23,37 +26,46 @@
min-height: 70px; min-height: 70px;
border-bottom: #e8491d 3px solid; border-bottom: #e8491d 3px solid;
} }
header a { header a {
color: #ffffff; color: #ffffff;
text-decoration: none; text-decoration: none;
text-transform: uppercase; text-transform: uppercase;
font-size: 16px; font-size: 16px;
} }
header li { header li {
float: left; float: left;
display: inline; display: inline;
padding: 0 20px 0 20px; padding: 0 20px 0 20px;
} }
header #branding { header #branding {
float: left; float: left;
} }
header #branding h1 { header #branding h1 {
margin: 0; margin: 0;
} }
header nav { header nav {
float: right; float: right;
margin-top: 10px; margin-top: 10px;
} }
header .highlight, header .current a {
header .highlight,
header .current a {
color: #e8491d; color: #e8491d;
font-weight: bold; font-weight: bold;
} }
header a:hover { header a:hover {
color: #cccccc; color: #cccccc;
font-weight: bold; font-weight: bold;
} }
</style> </style>
</head> </head>
<body> <body>
<header> <header>
<div class="container"> <div class="container">
@ -75,17 +87,10 @@
<li><strong>order_id:</strong> The ID of the order.</li> <li><strong>order_id:</strong> The ID of the order.</li>
<li><strong>client_id:</strong> The ID of the client.</li> <li><strong>client_id:</strong> The ID of the client.</li>
<li><strong>amount:</strong> The amount in USD that the client wants to pay.</li> <li><strong>amount:</strong> The amount in USD that the client wants to pay.</li>
<li><strong>currency:</strong> The currency in which the payment will be made. This should be a valid FiatCurrency value.</li> <li><strong>currency:</strong> The currency in which the payment will be made. This should be a valid
FiatCurrency value.</li>
<li><strong>client_email:</strong> The email of the client.</li> <li><strong>client_email:</strong> The email of the client.</li>
</ul> </ul>
<p>The endpoint will return a JSON response with the following fields:</p>
<ul>
<li><strong>order_id:</strong> The ID of the order.</li>
<li><strong>amount:</strong> The amount in BTC that the client needs to pay.</li>
<li><strong>wallet_address:</strong> The wallet address to which the payment should be made.</li>
<li><strong>expires_at:</strong> The time at which the order will expire.</li>
</ul>
<h3>Examples</h3> <h3>Examples</h3>
<h4>Go</h4> <h4>Go</h4>
<pre> <pre>
@ -163,8 +168,12 @@
</pre> </pre>
<h3>Handling the Response</h3> <h3>Handling the Response</h3>
<p>The response from the /order endpoint is an HTML page that should be displayed to the user. This can be done by embedding the response in an iframe, loading it in a new browser window or tab, or by replacing the current page with the response HTML.</p> <p>The response from the /order endpoint is an HTML page that should be displayed to the user. This can be done
<p>Please note that the exact method of displaying the response will depend on the specifics of your application and its user interface.</p> by embedding the response in an iframe, loading it in a new browser window or tab, or by replacing the
current page with the response HTML.</p>
<p>Please note that the exact method of displaying the response will depend on the specifics of your application
and its user interface.</p>
</div> </div>
</body> </body>
</html> </html>