Fetch all payment attempts for the given invoice.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
1The body is of type enum<string>.
pending, requires_intervention, paid, canceled The next page token from a previous response.
The maximum number of payments to return. Defaults to 25.
1 <= x <= 25