Xsolla-logo

게임유저 잔액: 구매Webhook POST

게임유저가 게임 내에서 구매한 경우(예: 게임 아이템 구입) 게임유저 잔액 변화에 관한 특별 알림 메시지를 보냅니다.

Request
Request Body schema: application/json
id_operation
integer

엑솔라 시스템 내 작업 ID입니다.

Array of objects

구매 항목 내의 가상 아이템입니다.

Array
amount
integer

아이템 수량입니다.

sku
string

아이템 ID입니다.

items_operation_type
string

인게임 구매의 작업 유형입니다.

notification_type
string

알림 유형입니다.

operation_type
string

작업 유형입니다.

object

사용자 정의 프로젝트 설정(개체)입니다.

merchant_id
integer

판매자 ID입니다.

project_id
integer

엑솔라 시스템 내의 게임 식별자입니다. 판매자 계정 에서 확인할 수 있습니다.

object

사용자 세부 사항(개체)입니다.

id
required
string

사용자 ID.

email
string

사용자 이메일.

name
string

사용자 이름

object

시스템 내 게임유저 잔액 데이터와 관련된 값입니다.

diff
string

구매에 사용된 게임 머니 금액입니다.

new_value
string

현재 작업이 처리된 후 게임유저의 새잔액입니다.

old_value
string

현재 작업이 처리되기 전 유저의 기존 잔액 금액입니다.

Responses
204

성공적인 처리 표시를 반환합니다.

400

제공된 정보에 오류가 있는 경우 반환합니다(예: 필수 매개변수 누락, 인증 실패 등).

500

서버에 일시적인 오류가 있음을 표시하려면 돌아가세요.

Request samples
application/json
{
  • "id_operation": 0,
  • "items": [
    ],
  • "items_operation_type": "string",
  • "notification_type": "string",
  • "operation_type": "string",
  • "settings": {
    },
  • "user": {
    },
  • "virtual_currency_balance": {
    }
}
Response samples
application/json
{
  • "error": {
    }
}