GetFundAccountTransactionDetails

Updated at:
Copy as MD

Queries the transaction details of a fund 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:DescribeFund

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

FundAccountId

integer

No

The ID of the fund account. If this parameter is not specified, the ID of the fund account owned by the current account is used by default.

123221232

TransactionNumber

integer

No

The transaction number.

543231231

BillNumber

string

No

The transaction order number.

2023212312321

ChannelTransactionNumber

string

No

The transaction channel serial number.

20250312334312322

StartTime

integer

No

The start time of the query. The value is a UNIX timestamp in milliseconds.

1735664461000

EndTime

integer

No

The end time of the query. The value is a UNIX timestamp in milliseconds.

1735664561000

TransactionDirection

string

No

The direction of the transaction. Valid values:

  • IN: Fund inflow.

  • OUT: Fund outflow.

Valid values:

  • IN :

    Fund inflow.

  • OUT :

    Fund outflow.

IN

TransactionType

string

No

The transaction type. If you specify a transaction type, the query returns results of the specified type. If no results exist, an empty result is returned. If this parameter is not specified, all transaction types are returned by default. Valid values:

  • CHARGE: Top-up.

  • WITHDRAW: Withdrawal.

  • REFUND: Refund.

  • PAY: Payment.

  • TRANSFER: Transfer.

  • ADJUST: Adjustment.

  • PAY_FAILED: Refund for an invalid order.

CHARGE

TransactionTypeList

array

No

The list of transaction types. Supports multiple parameter query.

string

No

The transaction type.

CHARGE

TransactionChannelList

array

No

The list of transaction channels. If you specify transaction channels, the query returns results of the specified channels. If this parameter is not specified, all transaction channels are queried by default. Valid values:

  • ACCT_CASH: Account balance.

  • ALIPAY: Alipay.

  • ALIPAY_ZHIFUTONG: Alipay Zhifutong.

  • OFFLINE_REMIT: Offline remittance.

  • REFUND: Credit limit refund.

  • UNION_PAY_BANK: Online banking.

  • CREDIT_CARD: Credit card. (Available only on the international site.)

  • PAYPAL: PayPal. (Available only on the international site.)

string

No

The fund type.

ACCT_CASH

CurrentPage

integer

No

The current page number.

1

PageSize

integer

No

The number of entries per page. Maximum value: 200.

20

Response elements

Element

Type

Description

Example

object

BssApiPageResult

CurrentPage

integer

The current page number.

1

Data

array<object>

The data list.

object

Balance

string

The balance after the operation.

5

BillNumber

string

The order number or bill number.

2323203243

ChannelTransactionNumber

string

The external transaction reference number.

20244389232

Currency

string

The currency of the transaction amount.

USD

FundAccountEcid

string

The enterprise entity ID.

23473943

FundAccountId

integer

The account ID.

1232121

FundAccountName

string

The account name.

Name of the user

FundAccountOwnerAccountId

integer

The Alibaba Cloud account ID of the account owner.

32343231

FundType

string

The fund type.

ACCT_BOOK

Nbid

string

The primary sales channel.

2684210001

Remark

string

The remark.

Order remark

Site

string

The site.

26842

TransactionAccount

string

The corresponding transaction account, such as the Alipay top-up account or the peer account for transfers.

186****3975

TransactionAmount

string

The transaction amount.

10

TransactionChannel

string

The list of transaction channels. If you specify transaction channels, the query returns results of the specified channels. If this parameter is not specified, all transaction channels are queried by default. Valid values:

  • ACCT_CASH: Account balance.

  • ALIPAY: Alipay.

  • ALIPAY_ZHIFUTONG: Alipay Zhifutong.

  • OFFLINE_REMIT: Offline remittance.

  • REFUND: Credit limit refund.

  • UNION_PAY_BANK: Online banking.

  • CREDIT_CARD: Credit card. (Available only on the international site.)

  • PAYPAL: PayPal. (Available only on the international site.)

ALIPAY

TransactionDirection

string

The transaction direction. Valid values: in (income) and out (expense).

IN

TransactionNumber

integer

The transaction number.

5423121

TransactionTime

string

The formatted string of the transaction time.

2024-12-01 12:00:00

TransactionType

string

The transaction type. If you specify a transaction type, the query returns results of the specified type. If no results exist, an empty result is returned. If this parameter is not specified, all transaction types are returned by default. Valid values:

  • CHARGE: Top-up.

  • WITHDRAW: Withdrawal.

  • REFUND: Refund.

  • PAY: Payment.

  • TRANSFER: Transfer.

  • ADJUST: Adjustment.

  • PAY_FAILED: Refund for an invalid order.

CHARGE

Metadata

any

The metadata of the response structure.

{}

PageSize

integer

The number of entries per page.

20

RequestId

string

The request ID.

D6E068C3-25BC-455A-85FE-45F0B22ECB1F

TotalCount

integer

The total number of records.

30

Examples

Success response

JSON format

{
  "CurrentPage": 1,
  "Data": [
    {
      "Balance": "5",
      "BillNumber": "2323203243",
      "ChannelTransactionNumber": "20244389232",
      "Currency": "USD",
      "FundAccountEcid": "23473943",
      "FundAccountId": 1232121,
      "FundAccountName": "Sample account name",
      "FundAccountOwnerAccountId": 32343231,
      "FundType": "ACCT_BOOK",
      "Nbid": "2684210001",
      "Remark": "Order remark",
      "Site": "26842",
      "TransactionAccount": "186****3975",
      "TransactionAmount": "10",
      "TransactionChannel": "ALIPAY",
      "TransactionDirection": "IN",
      "TransactionNumber": 5423121,
      "TransactionTime": "2024-12-01 12:00:00",
      "TransactionType": "CHARGE"
    }
  ],
  "Metadata": "{}",
  "PageSize": 20,
  "RequestId": "D6E068C3-25BC-455A-85FE-45F0B22ECB1F",
  "TotalCount": 30
}

Error codes

HTTP status code

Error code

Error message

Description

400 MaxOffsetLimit Exceeded maximum page turning limit. Maximum page turning limit exceeded, please view after exporting
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 NoPermission You are not authorized to perform this action. You do not have permissions to perform the operation.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.