API Docs V1.5
CtrlK
  • Welcome!
  • Quick Start
  • Reference
    • API Reference
      • Authentication
        • Register
        • Verify email
        • Login
        • Login Anonymous
        • Refresh Token
        • Ping Email
        • Firebase Connect
      • Chat
        • Get Room
        • Chat upload file
      • Event
        • Get List
        • Join Event
        • Complete Event
      • Equipment
        • Get List
        • Get By Fid
        • Ping By Fid
        • Create
      • Assest
        • Costume
          • Get Costume
        • Get Hair
        • Get Eye
        • Get Skin
      • Item
        • Create Avatar
        • Create Bot
      • Inventory
        • Get List
        • Create
      • Shop
        • Get By Uuid
        • Get Item By Shop
      • Banner
        • Get By Land
      • Asset Bundle
        • Get List
      • Terms And Conditions
        • Get By Code
      • Trade
        • Get Order By Uuid
        • Create Order
        • Get Invoice By Uuid
        • Create Invoice
        • Create Payment
      • User
        • Update User Profile
        • Get User Profile
        • Get User Profile By FID
        • Get Block Users
        • Create Block User
        • Delete Block User
      • Items Type
        • Get Items Type
      • Wallet
        • Get Wallet By User
        • Earn Coin
        • Burn Coin
      • Items
  • History Version
Powered by GitBook
On this page

Was this helpful?

  1. Reference
  2. API Reference
  3. Wallet

Earn Coin

Earn Coin

POST {enpoint}/api/v1/wallet/earncoin

Headers

Name
Type
Description

x-api-key*

String

Generated by Service

token*

String

Get from API login

Request Body

Name
Type
Description

coin_amount*

Number

coin amount

user_event_log_uuid*

String

event uuid

{
	"code": 0,
	"msg": "success",
	"data": {
		"id": "522",
		"uuid": "2fbf05d2-d33a-4b95-902f-ea21b693b868"
	}
}
{
    // Response
}
PreviousGet Wallet By UserNextBurn Coin

Last updated 2 years ago

Was this helpful?