POST
/
merchant
/
credit
/
edit_credit_account
curl --request POST \
  --url https://api.unibee.top/merchant/credit/edit_credit_account \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 123,
  "payoutEnable": 123,
  "rechargeEnable": 123
}'
{
  "code": 123,
  "data": {
    "UserCreditAccount": {
      "amount": 123,
      "createTime": 123,
      "currency": "<string>",
      "currencyAmount": 123,
      "exchangeRate": 123,
      "id": 123,
      "payoutEnable": 123,
      "rechargeEnable": 123,
      "totalDecrementAmount": 123,
      "totalIncrementAmount": 123,
      "type": 123,
      "userId": 123
    }
  },
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Edit User Credit Account Config

Response

200 - application/json

The response is of type object.