Xsolla-logo
  • 문서화
  • 계정 생성

Moves user's virtual currency to Xsolla Wallet

post/web/backpack/virtual_currency/receive

Grants the user virtual currency from Backpack in Xsolla Wallet.

Securitybearer
Request
Request Body schema: application/json
project_id
required
integer <uint32>

The Publisher Account project ID associated with the item.

merchant_id
required
integer <uint32>

The Publisher Account ID associated with the item.

item_id
required
string

The unique identifier for the item. Specified when creating item via API call.

Responses
200

The user was successfully granted virtual currency in Xsolla Wallet.

400

Bad request.

404

Not found.

500

Internal server error.

Request samples
application/json
{
  • "item_id": "string",
  • "project_id": 0,
  • "merchant_id": 0
}
Response samples
application/json
{
  • "message_id": "string",
  • "message": "string"
}