Welcome to

The best way to monetize

your private server

API Docs

To get started using the API, ensure that you have created your store and received your API key via the dashboard. You'll need to send this key with every request in the headers as Authorization: Bearer your_code_here. This lets us know who is using the api and thus getting you the correct information.

Api URL: https://api.runepay.app

Endpoints
GET /products Returns all products
GET /products/{product_id} Returns a single product based on ID.
GET /products/category/{id} Returns all items within a specific category id.

GET /products

Returns a list of all products.

Expected output:
                    
                        [
                            {
                                "id": 2,
                                "item_name": "Test Product",
                                "item_id": -1,
                                "category": 1,
                                "store_id": 1,
                                "price": 10,
                                "max_qty": 5,
                                "image_url": null,
                                "description": "A test product!"
                            }
                        ]
                    
                

GET /products/{id}

Returns a single product based on ID.

Expected output:
                    
                        {
                            "id": 2,
                            "item_name": "Test Product",
                            "item_id": -1,
                            "category": 1,
                            "store_id": 1,
                            "price": 10,
                            "max_qty": 5,
                            "image_url": null,
                            "description": "A test product!"
                        }
                    
                

GET /products/category/{id}

Returns all products within a specific category based on category id.

Expected output:
                    
                    [
                        {
                            "id": 2,
                            "item_name": "Test Product",
                            "item_id": -1,
                            "category": 1,
                            "store_id": 1,
                            "price": 10,
                            "max_qty": 5,
                            "image_url": null,
                            "description": "A test product!"
                        }
                    ]