Returns every payment made on the subscription's payment link, as an array. The list is not paginated.
Each item is a Payment object, the same shape the Payments APIs return. It includes failed attempts, so check status: captured means the money was received. Recurring charges also send the subscription.succeeded and subscription.failed webhooks; see the Subscription object.
To match a payment to one of your users, read customer_details.email, or a key you stored in the payment link's custom_data or external_id. Both are returned on each payment. Use created_date to decide whether a customer has paid for the current period.
If the subscription doesn't exist or isn't attached to a payment link, the call returns 404.
500Unexpected error