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

Topup user's multicurrency balance

post/v2/merchants/{merchantId}/projects/{projectId}/multicurrency-balance-topup

Top up user multicurrency balance.

SecurityServer
Request
path Parameters
merchantId
required
string

Merchant ID of the client

projectId
required
string

Project ID of the project

header Parameters
X-OPERATION-ID
required
string <UUID> = 36 characters

Unique operation ID.

X-HOST-ID
required
string <UUID> = 36 characters

Unique operator ID.

Request Body schema: application/json
shards
required
integer <int64> >= 1

Number of Shards to topup.

user_id
required
string <UUID> non-empty

Xsolla Account ID.

virtual_currency_sku
required
string non-empty

Multicurrency SKU

Responses
200

Operation successful

400

Bad request

401

Unauthorized

404

User not found

422

Unprocessable entity

Request samples
application/json
{
  • "shards": 22,
  • "user_id": "b8fa3003-2448-49fb-bbe2-7f72f420e350",
  • "virtual_currency_sku": "sapphire_point"
}
Response samples
application/json
{
  • "balance": {
    }
}