get https://testapi.payarc.net/v1/charges
This API returns a list of charges that were created. The list is sorted by ‘creation date’ with the most recent charges appearing first.
Pagination Parameters
When retrieving a list of charges, you can use the limit
and page
parameters to control the number of results returned and to navigate through multiple pages of data.
Parameters
1. Limit (limit
)
limit
)- Type:
integer
- Description: A number that represents the number of charges displayed per page. This parameter allows you to control how many records are returned in a single response.
- Required: Optional
- Format: Numeric
- Default: 25
- Example:
25
(This would return 25 charges per page)
2. Page (page
)
page
)- Type:
integer
- Description: A number that represents the current page of results. This parameter is used to navigate through the paginated results.
- Required: Optional
- Format: Numeric
- Default: 1
- Example:
1
(This would retrieve the first page of results)