QueryCashWalletAction

Last updated:2021-05-27 17:52:42

QueryCashWalletAction

You can call this operation to query the balance in a Kingsoft Cloud account.

Request parameters

Parameter Type Required Length (number of characters) Description
Action String Yes Fixed value The operation that you want to perform. Set the value to QueryCashWalletAction.
Version String Yes Fixed value The version number of the API operation. Set the value to V1.

Response parameters

Parameter Type Description
RequestId String The ID of the request.
data CashWalletDetail The account data.

Error codes

Error code Error message HTTP status code Description
InvalidParameter There is one or more invalid parameter(%s). 400 The error message returned because the %s parameter is invalid. For more information about the parameter, see %s.
MissingParameter A required parameter for the specified action is not supplied. 400 The error message returned because the %s parameter is not specified. For more information about the parameter, see %s.

Successful call examples

Sample requests

http://kingpay.api.ksyun.com/?Action=QueryCashWalletAction
&Version=V1
&Common request parameters

Sample success response

  • JSON format
{
    "status": 200,
    "request_id": "3c4366ad-5e13-45e8-9d89-4c7b9aff9c17",
    "data": {
        "userId": 2000068605,
        "availableAmount": 126.06,
        "rewardAmount": 0,
        "frozenAmount": 0,
        "currency": "CNY"
    }
}

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈