ListFundAccountPayRelation

Updated at:
Copy as MD

Queries the payment relationships of an account.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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: Valid.

  • expired: Invalid.

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: Valid.

  • expired: Invalid.

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: User.

  • system: Alibaba Cloud system.

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.