Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
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>"
}Edit User Credit Account Config
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>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.