Checkout

Create a checkout url

POST https://plugin.tebex.io/checkout

Creates a URL which will redirect the player to the webstore and add the package to their basket.

Headers

NameTypeDescription

X-Tebex-Secret

string

The secret key of a server.

Request Body

NameTypeDescription

package_id

string

The ID of the package the players want to purchase.

username

string

The username of the player.

{
  "url": "http://example.tebex.io/buy/gj48f",
  "expires": "2015-11-30T18:10:18+0000"
}

Last updated