Skip to main content
GET
/
v2
/
accounts
/
{account_id}
/
subscriptions
cURL
curl --request GET \
  --url https://tonapi.io/v2/accounts/{account_id}/subscriptions
{
  "subscriptions": [
    {
      "type": "v2",
      "status": "not_ready",
      "period": 2592000,
      "subscription_id": "<string>",
      "payment_per_period": {
        "currency_type": "jetton",
        "value": "123000000000",
        "decimals": 9,
        "token_name": "TON",
        "verification": "whitelist",
        "image": "https://cache.tonapi.io/images/jetton.jpg",
        "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
      },
      "wallet": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "is_scam": true,
        "is_wallet": true,
        "name": "Ton foundation",
        "icon": "https://ton.org/logo.png"
      },
      "next_charge_at": 1653996834,
      "metadata": {
        "encrypted_binary": "<string>",
        "decryption_key": "dead.....beef"
      },
      "address": "0:dea8f638b789172ce36d10a20318125e52c649aa84893cd77858224fe2b9b0ee"
    }
  ]
}

Path Parameters

account_id
string<address>
required

account ID

Example:

"0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"

Response

account's subscriptions

subscriptions
object[]
required