get https://api.cashfree.com/api/v2/subscriptions//payments?lastId=&count=
Use this API to get all payment details of a subscription with just one request.
URLs
Note:
- lastId and count help in paginating queries for ease of use. Every query returns "count" number of payments. To fetch next page set lastId of the previous page. To get first page do not include lastId in the request.
- Cycle indicates after how many intervals was this payment processed.
- Payment status field values are described in Payment Status.