Skip to main content
POST
Create a top-up pack listing

授权

Authorization
string
header
必填

Your API key, from the cabinet under Seller → API keys.

请求体

application/json

A top-up's pictures are optional — the marketplace renders the pack tile, not an offer gallery.

game
string
必填

The game's slug.

title
string
必填
Required string length: 8 - 128
price
integer<int64>
必填

US cents — 4990 is $49.90. USD is the only currency the platform prices in.

delivery_type
enum<string>
必填

instant hands a unit from the pool over the moment an order is paid. manual is you handing over yourself, within the time below.

可用选项:
instant,
manual
delivery_method
string
必填

A key from GET /v1/offers/delivery-methods. Instant delivery is only possible with activation_code.

delivery_instructions
string
必填

What the buyer is told to do at handover, in your words.

Maximum string length: 2048
description
string
Maximum string length: 4096
images
string<uri>[]

image_urls returned by POST /v1/offers/images. At least one: it is the cover the marketplace renders. A URL from anywhere else is refused (invalid_image).

Required array length: 1 - 10 elements
tags
string[]

Up to 500 characters in all, counted as the tags joined with ", ". No commas inside a tag. Stored trimmed, lower-cased and deduplicated.

attributes
object

The category's own fields — read them from its schema.

units
object[]

delivery_type: instant only — one opaque JSON payload per unit, the goods themselves. Encrypted at rest; never read back.

manual_delivery_value
integer<int32>

delivery_type: manual only — the handover time you promise.

manual_delivery_unit
enum<string>

What manual_delivery_value counts.

可用选项:
minutes,
hours,
days

响应

Created

How a listing sold by hand promises to hand over.

id
string<uuid>
title
string
description
string
attributes
object

The category's own fields, keyed by the schema's key.

tags
string[]
status
enum<string>

draft on create, then active once you publish it; unpublish takes it back to draft. archived is yours too, through DELETE. sold follows an order: the last unit went to a closed one. changes_requested is moderation sending a live listing back: it is off the marketplace, moderation_reason_code says why, and your next PATCH makes it a draft to publish again.

可用选项:
draft,
active,
changes_requested,
sold,
archived
created_at
string<date-time> | null
updated_at
string<date-time> | null
published_at
string<date-time> | null

When publish put it on the marketplace. null while it is a draft, and written once — pausing and unpausing leave it alone.

moderation_reason_code
enum<string> | null

Why moderation asked for changes. Kept through the PATCH that makes the listing a draft, null once it is published again.

可用选项:
prohibited_item,
misleading_description,
stolen_images,
invalid_price,
insufficient_details,
other,
null
moderation_note
string | null

What moderation wrote to you along with the reason, if anything.

manual_delivery_value
integer<int32> | null

The handover time promised, read together with the unit — 2 and hours.

manual_delivery_unit
enum<string> | null

What the value counts. Both are null on a listing delivered instantly.

可用选项:
minutes,
hours,
days,
null
price
integer<int64>

US cents.

currency
string

Always USD.

示例:

"USD"

images
string<uri>[]
delivery_type
enum<string>

instant sells out of the unit pool; manual you hand over yourself.

可用选项:
instant,
manual
delivery_method
string | null

The key this listing hands over by.

delivery_instructions
string

What the buyer is told to do at handover.