Pagination - Payment Methods

Overview

When retrieving payment methods through the Venddor API, you can control how many results are returned and which page of results to display using pagination parameters.

Base URL: https://www.venddor.com.br/api

Pagination Parameters

Add these parameters to your API requests to control the pagination of payment methods:

Parameter Description
page Specifies which page of payment methods to display. Pages are numbered starting from 1.
items_per_page Controls how many payment methods are included on each page. Default value is 10.
Tip: If you don't specify these parameters, the API will return the first 10 payment methods by default.

Examples

GET /api/payments?page=5

This request will return 10 payment methods from the 5th page.

Since items_per_page is not specified, the default value of 10 is used.

GET /api/payments?items_per_page=20

This request will return 20 payment methods from the first page.

Since page is not specified, the default value of 1 is used.

GET /api/payments?page=5&items_per_page=20

This request will return 20 payment methods from the 5th page.

Both pagination parameters are specified, giving you complete control over the results.

Note: The pagination feature helps you efficiently navigate through large sets of payment methods without having to retrieve all records at once, improving performance for both the API and your application.