List products
curl --request GET \
--url https://external-api-service.pagamerican.app/api/v1/products \
--header 'Authorization: Bearer <token>'import requests
url = "https://external-api-service.pagamerican.app/api/v1/products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://external-api-service.pagamerican.app/api/v1/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://external-api-service.pagamerican.app/api/v1/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://external-api-service.pagamerican.app/api/v1/products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://external-api-service.pagamerican.app/api/v1/products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://external-api-service.pagamerican.app/api/v1/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"productId": 898,
"productUcode": "prd_01a000cf-a4b8-742c-9453-64c8a4a15399",
"name": "EXAMPLE PRODUCT",
"friendlyName": "Example Product",
"status": "active",
"supportEmail": "support@example.com",
"paymentMethods": "credit_card,pix",
"supplierId": 42,
"supplierName": "Example Supplier",
"externalId": "SKU-EXP-001",
"updatedAt": "2026-08-20 11:00:00"
}
],
"meta": {
"count": 14,
"limit": 1000,
"page": 1,
"truncated": false
}
}{
"error": {
"code": "invalid_request",
"message": "from must be before to",
"correlation_id": "a1b2c3d4-0000-0000-0000-000000000000"
}
}{
"error": {
"code": "invalid_request",
"message": "from must be before to",
"correlation_id": "a1b2c3d4-0000-0000-0000-000000000000"
}
}{
"error": {
"code": "invalid_request",
"message": "from must be before to",
"correlation_id": "a1b2c3d4-0000-0000-0000-000000000000"
}
}{
"error": {
"code": "invalid_request",
"message": "from must be before to",
"correlation_id": "a1b2c3d4-0000-0000-0000-000000000000"
}
}{
"error": {
"code": "invalid_request",
"message": "from must be before to",
"correlation_id": "a1b2c3d4-0000-0000-0000-000000000000"
}
}products
List products
The vendor’s current product catalog. Vendor only. No date window.
GET
/
api
/
v1
/
products
List products
curl --request GET \
--url https://external-api-service.pagamerican.app/api/v1/products \
--header 'Authorization: Bearer <token>'import requests
url = "https://external-api-service.pagamerican.app/api/v1/products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://external-api-service.pagamerican.app/api/v1/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://external-api-service.pagamerican.app/api/v1/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://external-api-service.pagamerican.app/api/v1/products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://external-api-service.pagamerican.app/api/v1/products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://external-api-service.pagamerican.app/api/v1/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"productId": 898,
"productUcode": "prd_01a000cf-a4b8-742c-9453-64c8a4a15399",
"name": "EXAMPLE PRODUCT",
"friendlyName": "Example Product",
"status": "active",
"supportEmail": "support@example.com",
"paymentMethods": "credit_card,pix",
"supplierId": 42,
"supplierName": "Example Supplier",
"externalId": "SKU-EXP-001",
"updatedAt": "2026-08-20 11:00:00"
}
],
"meta": {
"count": 14,
"limit": 1000,
"page": 1,
"truncated": false
}
}{
"error": {
"code": "invalid_request",
"message": "from must be before to",
"correlation_id": "a1b2c3d4-0000-0000-0000-000000000000"
}
}{
"error": {
"code": "invalid_request",
"message": "from must be before to",
"correlation_id": "a1b2c3d4-0000-0000-0000-000000000000"
}
}{
"error": {
"code": "invalid_request",
"message": "from must be before to",
"correlation_id": "a1b2c3d4-0000-0000-0000-000000000000"
}
}{
"error": {
"code": "invalid_request",
"message": "from must be before to",
"correlation_id": "a1b2c3d4-0000-0000-0000-000000000000"
}
}{
"error": {
"code": "invalid_request",
"message": "from must be before to",
"correlation_id": "a1b2c3d4-0000-0000-0000-000000000000"
}
}