Skip to main content
POST
Create top up offer

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
external_id
string
required
Example:

"TOPUP-EUW-1000-001"

game
string
required
Example:

"league-of-legends"

offer_key
string
required
Example:

"1000-coins"

offer_title
string
required
Example:

"1000 Coins"

offer_amount
number
required
Example:

1000

offer_unit
string
required
Example:

"Coins"

price
integer
required

Price in cents.

Example:

999

game_name
string
Example:

"League of Legends"

service_label
string
Example:

"Top Ups"

region
string | null
Example:

"EU"

platform
string | null
Example:

"PC"

currency
string
Example:

"EUR"

stock
integer
Example:

999

min_quantity
integer
Example:

1

waiting_time_value
integer
Example:

10

waiting_time_unit
enum<string>
Available options:
minutes,
hours,
days
Example:

"minutes"

instructions
string | null
image
string<uri> | null
active
boolean
Example:

true

status
enum<string>
Available options:
draft,
pending,
listed,
archived
Example:

"listed"

Response

Success

id
integer
Example:

123

external_id
string
Example:

"TOPUP-EUW-1000-001"

game
string
Example:

"league-of-legends"

game_name
string
Example:

"League of Legends"

service_label
string
Example:

"Top Ups"

offer_key
string
Example:

"1000-coins"

offer_title
string
Example:

"1000 Coins"

offer_amount
number
Example:

1000

offer_unit
string
Example:

"Coins"

region
string | null
Example:

"EU"

platform
string | null
Example:

"PC"

price
integer

Price in cents.

Example:

999

currency
string
Example:

"EUR"

stock
integer
Example:

999

min_quantity
integer
Example:

1

waiting_time_value
integer
Example:

10

waiting_time_unit
enum<string>
Available options:
minutes,
hours,
days
Example:

"minutes"

instructions
string | null
image
string<uri> | null
active
boolean
Example:

true

status
enum<string>
Available options:
draft,
pending,
listed,
archived
Example:

"listed"

created_at
string<date-time> | null
updated_at
string<date-time> | null