All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

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"
    }
    }
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback