Hyperz Documentation > Products > Payment System > Backend API

Backend API

Hyperz

Request Format

This will simply guide you with Axios how to make a request to the API.

const axios = require('axios');
init();

async function init() {
    let request = await axios({
        method: 'get',
        url: 'https://store.hyperz.net/api/v1',
        headers: { 'authorization': 'YOUR_API_TOKEN' }
    });
    console.log(request.data);
};

Expected Output:

{
    'authorized': true,
    'solution': 'none'
}

Endpoints

Below you will find a list of all the payment system API endpoints you can access.

Name/URL Type Description
/api/v1 GET Returns authorization status.
/api/v1/get/products GET Get all products on the store.
/api/v1/get/account/:userid GET Get the account of a user by Id.
/api/v1/get/settings GET Get all stored site settings.

Licensing

If you are looking for a guide to the license system please click here.


Was this article helpful?

9 out of 17 found this helpful