# 특정 아이템을 인게임 재화로 구매하는 주문 생성 인게임 재화를 사용하는 아이템 구매를 생성합니다. Endpoint: POST /v2/project/{project_id}/payment/item/{item_sku}/virtual/{virtual_currency_sku} Version: 2.0.0 Security: XsollaLoginUserJWT ## Path parameters: - `project_id` (integer, required) 프로젝트 ID입니다. 이 매개 변수는 관리자 페이지의 프로젝트 이름 옆에서 확인할 수 있습니다. Example: 44056 - `item_sku` (string, required) 아이템 SKU입니다. Example: "booster_mega_1" - `virtual_currency_sku` (string, required) 인게임 재화 SKU입니다. Example: "crystal" ## Query parameters: - `platform` (string) Xsolla(기본값), playstation_network, xbox_live, pc_standalone, nintendo_shop, google_play, app_store_ios, android_standalone, ios_standalone, android_other, ios_other, pc_other 등 사용자가 플레이하는 퍼블리싱 플랫폼입니다. Enum: "playstation_network", "xbox_live", "xsolla", "pc_standalone", "nintendo_shop", "google_play", "app_store_ios", "android_standalone", "ios_standalone", "android_other", "ios_other", "pc_other" ## Request fields (application/json): - `custom_parameters` (object,null) 사용자 지정 매개 변수는 키-값 쌍의 유효한 JSON 집합으로 표시됩니다. 이 필드를 통해 추가 매개 변수를 전달하여 부정 결제 방지 필터를 구성할 수 있습니다. [페이 스테이션 설명서를 참조해주세요](https://developers.xsolla.com/ko/doc/pay-station/features/antifraud/). Example: {"custom_parameters":{"bool_param":true,"int_param":100,"null_param":null,"string_param":"example"}} ## Response 200 fields (application/json): - `order_id` (integer) 주문 ID입니다. ## Response 404 fields (application/json): - `errorCode` (integer) Example: 4001 - `errorMessage` (string) Example: "[0401-4001]: Item with Project Id = 44056 and Sku = booster_mega_12222 not found" - `statusCode` (integer) Example: 404 ## Response 422 fields (application/json): - `errorCode` (integer) Example: 5006 - `errorMessage` (string) Example: "[0401-5006]: Not enough virtual currency" - `statusCode` (integer) Example: 422