v1

latestOpenAPI 3.0.12026-07-24128351404.9 KB
Common

List Balance Objects

Retrieve all balance-holding objects under your Infinity Account, including Infinity Account, budgets, and prepaid cards.

get/open-api/v3/cards/wallets

Query parameters

accountIdstring uuid required

The UUID of the Account.

The UUID of the Account.

balanceIdstring uuid

The ID of the balance object.

The ID of the balance object.

objectType'0' | '1' | '2'

Specifies the type of balance object. Object type: 0-Infinity Account balance,1-budget balance,2-prepaid card balance

Specifies the type of balance object. Object type: 0-Infinity Account balance,1-budget balance,2-prepaid card balance

limitstring number

Limits the number of items to be returned.

Limits the number of items to be returned.

pagestring number

The page to be returned, counting from 1 as the first page.

The page to be returned, counting from 1 as the first page.

Response

OK

codestring

Return code

messagestring

Error message

Example response

{
  "data": {
    "list": [
      {
        "id": "1f74664d-7680-4038-ac0f-16e62d7d0372",
        "accountId": "1f74664d-7680-4038-ac0f-16e62d7d0372",
        "createTime": "1755498145103",
        "currency": "USD",
        "available": "12.03",
        "frozen": "10.03",
        "walletType": "0",
        "objectType": "0"
      }
    ]
  }
}