get https://au-0000.api.assemblypay.com/payto/agreements//payment_requests
This operation is to retrieve all payment requests initiated for an agreement in the provided period (date range). Payment requests for a period of maximum one year or less than it can be retrieved at a time.
By default, all payment initiation requests (along with details) irrespective of the status will be listed via this endpoint. However, the results can be filtered based on status(es) if needed.
Request parameter descriptions:
- status - List of valid agreement statuses. Example - Retrieve active and suspended payments only.
- Valid values - PENDING_PAYMENT_INITIATION, PAYMENT_INITIATED, PAYMENT_INITIATION_COMPLETED, PAYMENT_INITIATION_REJECTED
- start_date - Date range start, example - fetch all payments created between June to December 2022.
- end_date - Date range end, example - fetch all payments created between June to December 2022.
- size - Number of payments per page. Default value is 20.
- page - Page number. Default value is 0.