Developer Documentation

Vouchers

The 4Netplayers voucher system is a powerful tool designed for influencers, game developers, and partners to offer their users a seamless way to purchase game server rentals using vouchers. These vouchers can be distributed as rewards, purchased with in-game currency, or integrated into various promotional strategies.

This system provides a flexible way to manage voucher codes through a REST API, allowing partners to create and retrieve voucher codes linked to their products or services.

How the Voucher System Works

  • Vouchers as Payment: Vouchers can be generated with a monetary value of up to 250€ and can be redeemed by users to rent game servers on 4Netplayers.
  • Partner Billing: The sum of generated vouchers is billed monthly to the partner (influencers, game developers, etc.).
  • Voucher-ID: Partners are assigned a unique Voucher-ID. This ID acts as the domain in which all voucher codes are generated and managed. Partners can request multiple Voucher-IDs if they have more than one game or need to segregate their vouchers for different purposes.

Typical Use Case

Game developers can integrate the voucher system into their games, allowing users to purchase vouchers using in-game currency or in-app purchases. These vouchers can then be used by players to rent game servers on 4Netplayers, enhancing the gaming experience.

Prerequisites for Access

To access and use the voucher system, partners must meet the following prerequisites:

  1. 4Players Account: Partners must have a 4Players account. If they do not have one, they can create it here.
  2. Partner Account: Partners need a partner account, which can be obtained by contacting our team via Discord or our sales team. Once approved, they will receive a Voucher-ID and an API-Key.
    • Voucher-ID: The domain where codes are generated. Partners may request multiple Voucher-IDs.
    • API-Key: Used to authenticate requests to the voucher system.

Authentication

All API requests must include the Authorization header with the API-Key as the value. This ensures that only authorized partners can generate and manage voucher codes.

API Endpoints

Learn more about the available API endpoints and how to interact with the voucher system by referring to the Voucher System API documentation.