Accounts

GET /v2/accounts/{account_id}/subscriptions

Get all subscriptions by wallet address

Request

Path parameters

account_idstring address required
Example:0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621

account ID

Response

account's subscriptions

Example response

{
  "subscriptions": [
    {
      "address": "0:dea8f638b789172ce36d10a20318125e52c649aa84893cd77858224fe2b9b0ee",
      "admin": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "icon": "https://ton.org/logo.png",
        "is_scam": true,
        "is_wallet": true,
        "name": "Ton foundation"
      },
      "beneficiary": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "icon": "https://ton.org/logo.png",
        "is_scam": true,
        "is_wallet": true,
        "name": "Ton foundation"
      },
      "metadata": {
        "decryption_key": "dead.....beef"
      },
      "next_charge_at": 1653996834,
      "payment_per_period": {
        "currency_type": "jetton",
        "decimals": 9,
        "image": "https://cache.tonapi.io/images/jetton.jpg",
        "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
        "token_name": "Gram",
        "value": "123000000000",
        "verification": "whitelist"
      },
      "period": 2592000,
      "type": "v2",
      "wallet": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "icon": "https://ton.org/logo.png",
        "is_scam": true,
        "is_wallet": true,
        "name": "Ton foundation"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.