ListFundAccountPayRelation
Queries the payment relationships of an account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bss:DescribeBillingAccount |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FundAccountId |
string |
Yes |
The fund account ID. |
12323123 |
| Status |
string |
No |
The relationship status. Valid values:
|
valid |
| CurrentPage |
integer |
No |
The current page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
20 |
| Nbid |
string |
No |
The level-1 marketplace ID. If this parameter is left empty, the marketplace ID of the current user is used by default. |
2684201000001 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
BssApiPageResult |
||
| CurrentPage |
integer |
The current page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
20 |
| TotalCount |
integer |
The total number of records. |
50 |
| Data |
array<object> |
The data list. |
|
|
object |
|||
| FundAccountId |
string |
The account ID. |
123231213 |
| FundAccountOwnerAccountId |
string |
The Alibaba Cloud account ID of the account owner. |
312328912 |
| AccountId |
string |
The account ID of the user associated with the payment relationship, which is the account that uses this account for payment. |
32812132121 |
| AccountName |
string |
The username. |
Sample username |
| EffectiveTime |
string |
The effective period of the payment relationship. The format is YYYY-MM-DD HH:mm:ss. |
2024-12-01 12:00:10 |
| IneffectiveTime |
string |
The time when the payment relationship expires. The format is YYYY-MM-DD HH:mm:ss. |
2025-01-01 12:12:12 |
| Status |
string |
The relationship status. Valid values:
|
valid |
| RelationType |
string |
The relationship type, which can be a collection relationship or a payment relationship. |
PAYMENT |
| OperatorType |
string |
The type of the authorized operator. Valid values:
|
aliyun_pk |
| OperatorNo |
string |
The authorized operator. If the operator type is aliyun_pk, the value is the Alibaba Cloud account ID. |
1232343423 |
| OperatorName |
string |
The name of the operator. If the operator type is aliyun_pk, the value is the Alibaba Cloud nickname. If the operator type is system, the value is "Alibaba Cloud Support". |
Sample username |
| Site |
string |
The site. |
26842 |
| Nbid |
string |
The level-1 marketplace. |
2684210001 |
| Ecid |
string |
The enterprise entity ID of the user associated with the payment relationship. |
213231232 |
| Metadata |
any |
The metadata of the response structure. |
{} |
| RequestId |
string |
The request ID. |
79EE7556-0CFD-44EB-9CD6-B3B526E3A85F |
Examples
Success response
JSON format
{
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 50,
"Data": [
{
"FundAccountId": "123231213",
"FundAccountOwnerAccountId": "312328912",
"AccountId": "32812132121",
"AccountName": "云某的名称",
"EffectiveTime": "2024-12-01 12:00:10",
"IneffectiveTime": "2025-01-01 12:12:12",
"Status": "valid",
"RelationType": "PAYMENT",
"OperatorType": "aliyun_pk",
"OperatorNo": "1232343423",
"OperatorName": "云某的名称",
"Site": "26842",
"Nbid": "2684210001",
"Ecid": "213231232"
}
],
"Metadata": "{}",
"RequestId": "79EE7556-0CFD-44EB-9CD6-B3B526E3A85F"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RequestTimeout | Request timed out. Please try again later. | Request timed out, please try again later |
| 400 | NoFundAccountPermission | The caller does not have permission for the specified fund account. | The current login account does not have permission to operate the specified account. |
| 400 | AccountNotExist | Account does not exist. | Account does not exist |
| 400 | InvalidParameter | The specified request contains invalid parameters. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.