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 /categories Returns all categories
GET /categories/{id} Returns a single category.
GET /categories

Returns an array of categories for your store.

Expected output:
                    
                        [
                            {
                                "id": 1,
                                "title": "Weapons",
                                "store_id": 1,
                                "zindex": 1000
                            },
                            {
                                "id": 2,
                                "title": "Accessories",
                                "store_id": 1,
                                "zindex": 1000
                            },
                            {
                                "id": 3,
                                "title": "Armor",
                                "store_id": 1,
                                "zindex": 1000
                            }
                        ]
                    
                
Error output:
            
                { "error": "error message" }
            
        

GET /categories/{id}

Returns a single categories based on it's id

Expected output:
                    
                        {
                            "id": 1,
                            "title": "Weapons",
                            "store_id": 1,
                            "zindex": 1000
                        }
                    
                
Error output:
            
                { "error": "error message" }