Subscription Object

{
    "id": "sub_m7N9rAWJS9dWDKEe",
    "object": "subscription",
    "account": {
        "id": "acc_nMNejK7BT8oGbvO4",
        "object": "account",
        "balance": {
            "available": 530000,
            "current": 530000,
            "limit": 1530000
        },
        "currency": "CLP",
        "holder_id": "134910798",
        "holder_name": "Jon Snow",
        "institution": {
            "id": "cl_banco_santander",
            "country": "cl",
            "name": "Banco Santander"
        },
        "name": "Cuenta Corriente",
        "number": "9530516286",
        "official_name": "Cuenta Corriente Moneda Local",
        "type": "checking_account"
    },
    "created_at": "2021-11-11T02:29:16Z",
    "mode": "live",
    "reference_id": null,
    "status": "active"
}
AttributeTypeDescription
idstringUnique identifier for the Subscription
objectstringIdentifier for the type of object. Its value for Subscriptions will always correspond to subscription
accountobjectObject that points to the bank account that can be charged with this subscription.
created_atstringSubscription's creation date, using ISO 8601
modestringIndicates whether the Subscription is in live mode or in test mode (for the sandbox)
reference_idstringOptional ID provided by the merchant which will determine how the bank identifies the subscription on its portal. If not provided, user'sholder_idwill be used. Length must be between 1-15 characters, and its only available for Subscriptions' clients.
statusstringSubscription status. Can be pending, active, canceled.
Only active subscription can be charged.
🚧

Subscription account balance

Currently, subscriptions' account balance is only present when subscriptions are created. Specifically, when subscriptions are received via subscription_intent.successful events.

At other moments the account balance will be shown as null.

Only subscriptions created by Direct Debit merchants can be charged and have status active.

Subscriptions created by Subscriptions merchants will always have status pending.