Skip to main content

Account List

Interface Description

  • Function description: to query the account list and return account information.

  • URL: /app/subscriptions/list

  • Method: GET

  • Rate limit: The calling frequency of each App ID is limited to 10 times in 30 seconds.

Request Parameters

ParameterTypeRequired fieldsDescribeExample value
subscription_idStringNoThe order ID of the last piece of data, if no parameter is passed, the first 100 pieces of data are queried by default1643264151319

Response Parameter

ParameterTypeDescribeExample value
subscription_idStringThird Party Subscription ID1643264151319
account_idStringWebull Pay Account ID (required for subsequent transactions and account balance query)co393b0ab01
account_numberStringWebull Pay crypto account5MV06064

Request Example

from webullpaysdktrade.api import API
from webullpaysdkcore.client import ApiClient
from webullpaysdkcore.common.region import Region

subscription_id = ""
your_app_key = "<your_app_key>"
your_app_secret = "<your_app_secret>"

api_client = ApiClient(your_app_key, your_app_secret, Region.US.value)
api = API(api_client)
response = api.account.get_app_subscriptions(subscription_id)
if response.status_code == 200:
app_subscriptions = response.json()
print(app_subscriptions)

Response Example

[
{
"subscription_id": "1646884438608",
"account_id": "co393b0ab01",
"account_number": "5MV06064"
}
]