diff --git a/cmd/http/views/index.hbs b/cmd/http/views/index.hbs
new file mode 100644
index 0000000..5560027
--- /dev/null
+++ b/cmd/http/views/index.hbs
@@ -0,0 +1,90 @@
+
+
+
+
+
+ BTC Pay Checker
+
+
+
+
+
+
+
BTC Pay Checker
+
+
+
+
+
+
+
How to use the /order POST endpoint
+
This endpoint allows you to create a new order. It requires a JSON body with the following fields:
+
+ - order_id: The ID of the order.
+ - client_id: The ID of the client.
+ - amount: The amount in USD that the client wants to pay.
+ - currency: The currency in which the payment will be made. This should be a valid FiatCurrency value.
+ - client_email: The email of the client.
+
+
The endpoint will return a JSON response with the following fields:
+
+ - order_id: The ID of the order.
+ - amount: The amount in BTC that the client needs to pay.
+ - wallet_address: The wallet address to which the payment should be made.
+ - expires_at: The time at which the order will expire.
+
+
+
+
diff --git a/internal/api/handler/payment.go b/internal/api/handler/order.go
similarity index 100%
rename from internal/api/handler/payment.go
rename to internal/api/handler/order.go
diff --git a/internal/api/server.go b/internal/api/server.go
index e44a8f3..17664ce 100644
--- a/internal/api/server.go
+++ b/internal/api/server.go
@@ -138,7 +138,7 @@ func (s *RestServer) loadViews(imagesDir string) {
s.app.Static("/images", imagesDir)
s.app.Get("/", func(c *fiber.Ctx) error {
- return c.Render("upload", fiber.Map{})
+ return c.Render("index", fiber.Map{})
})
s.app.Get("/error", func(c *fiber.Ctx) error {