Subscription billing, additional costs and credits are collected in invoices. An invoice is settled through card transactions or other types of transactions. Invoices are created automatically for new billing periods, but can also be created on demand for subscriptions and customers. See create invoice for subscription and create invoice for customer.
Subscription invoices are settled automatically and subject to an automated dunning process defined by the subscription plan. One-time on-demand invoices must be settled using a payment method from the customer wallet or with a manual transfer, e.g. bank transfer.
Invoices can also be settled or authorized using the Charge resource by providing existing payment method. Notice that this can only be done when the transaction is a merchant initiated transaction where the customer is not present.
A settled invoice can be refunded using the Refund resource.