Your wallet
const url = 'https://api.gampeon.com/v1/wallet';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.gampeon.com/v1/wallet \ --header 'Authorization: Bearer <token>'Balances, status and rules. Unlocks creator shares whose holding period is over.
Not available with access tokens.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Wallet
object
off: payments are switched off. sandbox: payments are simulated, no real money moves.
object
Bought or gifted. Spendable, never paid out
Earned, still in the holding period
Earned. Spendable and can be paid out
Reserved for a payout request
Wallet + earned
Locked after a chargeback. Buying, spending and payouts are blocked
Seller terms accepted, prices can be set
Creator shares that unlock next
object
Unix time in milliseconds
Amount in GAMPEONS
object
Euro cents
Spent or in open orders in the last 30 days
object
Creator share of each sale in basis points (7000 = 70 %)
Payout per earned GAMPEON in millionths of a euro (3800 = €0.0038)
Minimum payout
Days before a creator share can be spent or paid out
Days to withdraw from an unused purchase
Most an account can spend on GAMPEONS in 30 days
Lowest price for an item
Highest price for an item
Example
{ "mode": "off", "payoutProgram": "none"}Error codes: unauthorized
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}Error codes: token_not_allowed
object
Machine-readable error code, for example not_found or rate_limited.
Human-readable detail. Only present for some errors.
Example generated
{ "error": "example", "message": "example"}