Listar merchants
curl --request GET \
--url https://api.venepagos.com.ve/api/v1/merchantsimport requests
url = "https://api.venepagos.com.ve/api/v1/merchants"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.venepagos.com.ve/api/v1/merchants', 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://api.venepagos.com.ve/api/v1/merchants",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.venepagos.com.ve/api/v1/merchants"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.venepagos.com.ve/api/v1/merchants")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venepagos.com.ve/api/v1/merchants")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "mrc_abc123",
"name": "Mi Tienda",
"rif": "J-12345678-9",
"description": "Tienda de ejemplo",
"owner": "usr_xyz789",
"status": "ACTIVE"
}
],
"page": 1,
"limit": 50,
"total": 1
}
Merchants
Listar merchants
Obtiene una lista paginada de merchants asociados a tu cuenta.
GET
/
api
/
v1
/
merchants
Listar merchants
curl --request GET \
--url https://api.venepagos.com.ve/api/v1/merchantsimport requests
url = "https://api.venepagos.com.ve/api/v1/merchants"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.venepagos.com.ve/api/v1/merchants', 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://api.venepagos.com.ve/api/v1/merchants",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.venepagos.com.ve/api/v1/merchants"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.venepagos.com.ve/api/v1/merchants")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venepagos.com.ve/api/v1/merchants")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "mrc_abc123",
"name": "Mi Tienda",
"rif": "J-12345678-9",
"description": "Tienda de ejemplo",
"owner": "usr_xyz789",
"status": "ACTIVE"
}
],
"page": 1,
"limit": 50,
"total": 1
}
Autenticación
Este endpoint requiere autenticación mediante Bearer token.Parámetros de consulta
integer
default:"1"
Número de página para la paginación.
integer
default:"50"
Cantidad de resultados por página.
string
Término de búsqueda para filtrar merchants por nombre o RIF.
string
Filtra merchants por estado. Valores posibles:
ACTIVE, INACTIVE.Respuesta
array
integer
Página actual.
integer
Cantidad de resultados por página.
integer
Total de merchants encontrados.
{
"data": [
{
"id": "mrc_abc123",
"name": "Mi Tienda",
"rif": "J-12345678-9",
"description": "Tienda de ejemplo",
"owner": "usr_xyz789",
"status": "ACTIVE"
}
],
"page": 1,
"limit": 50,
"total": 1
}
⌘I