Query the budget accountSignature required
Call this API to query the budget account information.
Structure
A message consists of a header and body. For details, see the following sections.
Request header
Request parameters
Response parameters
result Result REQUIRED
Indicates the result of the API call.
availableAccountCount Integer REQUIRED
The remaining number of budget accounts that can be created.
createdAccountCount Integer REQUIRED
The number of budget accounts that have been created.
budgetAccountList Array<BudgetAccount> REQUIRED
The details of the created budget accounts.
contractStatus String REQUIRED
The status of the budget account contract. Valid values:
-
NOT_SIGN
: The contract is not signed. -
SIGNED
: The contract is signed.
contractInfoList Array<ContractInfo>
The details of the budget account contract.
This parameter is only returned when contractStatus is
NOT_SIGN
.
Request
Response
Result processing logic
After calling the API, a response is returned. The possible responses for result.resultStatus are:
Result status | Description |
| This indicates the API call succeeded. |
| This indicates the API call failed. For more information on why the call failed, see result.resultCode tables. |
| This indicates the API call result is unknown. The partner can call this API again. |
result.resultCode
Code | Value | Message | Further action |
---|---|---|---|
SUCCESS | S | Success | |
SYSTEM_ERROR | F | System error. | Do not retry, and contact our Technical Support Team for more details. |
PARAM_ILLEGAL | F | Illegal parameters exist. For example, a non-numeric input, or an invalid date. | Check and verify whether the request fields, including the header fields and body fields, are correct and valid. For details on the fields of each API, see the specific API Structure section. |
CONTRACT_NOT_EXIST | F | The contract check has failed. | Contact our Technical Support Team to check the status of your API contract. Make sure it is still valid and try again. |
USER_NOT_EXIST | F | The user does not exist. | Retry with the correct user information. |
ACCESS_TOKEN_EXPIRED | F | The access token expired. | Refresh token to get a new access token or contact out Technical Support Team to address it. |
AUTHORIZATION_NOT_EXIST | F | The authorization does not exist. | Make sure that the input is correct. If the issue persists, contact our Technical Support Team to verify the authorization status. |
SERVICE_NOT_ALLOWED | F | Service not allowed. | Retry with the correct information. If the issue persists, contact our Technical Support Team. |