[POST] 유저 밸런스 지급/회수

유저에게서 밸런스를 조정하고, 에이전트 팟에 반영합니다.

circle-info

type 이 BALANCE_TRANSFER 인 트랜잭션을 생성합니다.


Deposit/Withdraw user balance

POST /api/transfer/adjust

주어진 파라미터를 username으로 가지는 유저에게 밸런스를 지급/회수합니다.

해당하는 유저가 없다면, 404 에러를 반환합니다.

Body

Name
Type
Description

username*

String

에이전트 시스템에서 유저를 유일하게 식별하기 위한 값입니다. 회원 생성 시 사용했던 username과 동일합니다.

amount*

Number

유저에게서 조정할 금액입니다.

circle-exclamation

Example

{
    "username": "mario0070",
    "amount": 100000
}

Response

Last updated

Was this helpful?