Listar payouts
curl --request GET \
--url https://stablecoin-api.sandbox.getmeru.com/v1/payouts \
--header 'api-key: <api-key>'import requests
url = "https://stablecoin-api.sandbox.getmeru.com/v1/payouts"
headers = {"api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'api-key': '<api-key>'}};
fetch('https://stablecoin-api.sandbox.getmeru.com/v1/payouts', 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://stablecoin-api.sandbox.getmeru.com/v1/payouts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api-key: <api-key>"
],
]);
$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://stablecoin-api.sandbox.getmeru.com/v1/payouts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://stablecoin-api.sandbox.getmeru.com/v1/payouts")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://stablecoin-api.sandbox.getmeru.com/v1/payouts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [],
"meta": {
"page": 1,
"pageSize": 20,
"total": 0,
"totalPages": 1,
"hasNext": false,
"hasPrev": false
}
}
Payouts
Listar payouts
Devuelve los payouts en una lista dentro de data, con metadatos de paginación.
GET
/
v1
/
payouts
Listar payouts
curl --request GET \
--url https://stablecoin-api.sandbox.getmeru.com/v1/payouts \
--header 'api-key: <api-key>'import requests
url = "https://stablecoin-api.sandbox.getmeru.com/v1/payouts"
headers = {"api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'api-key': '<api-key>'}};
fetch('https://stablecoin-api.sandbox.getmeru.com/v1/payouts', 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://stablecoin-api.sandbox.getmeru.com/v1/payouts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api-key: <api-key>"
],
]);
$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://stablecoin-api.sandbox.getmeru.com/v1/payouts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://stablecoin-api.sandbox.getmeru.com/v1/payouts")
.header("api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://stablecoin-api.sandbox.getmeru.com/v1/payouts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [],
"meta": {
"page": 1,
"pageSize": 20,
"total": 0,
"totalPages": 1,
"hasNext": false,
"hasPrev": false
}
}
Parámetros de consulta
number
Número de página (por defecto 1).
number
Tamaño de página (por defecto 20, máximo 100).
string
Cota inferior inclusiva sobre
createdAt (ISO 8601). Opcional.string
Cota superior inclusiva sobre
createdAt (ISO 8601). Opcional.endDate es un timestamp, no un día calendario: 2024-01-31 equivale a 2024-01-31T00:00:00Z y excluye ese día — para incluir el día completo, envía 2024-01-31T23:59:59Z. Cuando se envían ambas fechas, startDate debe ser anterior o igual a endDate; de lo contrario la API responde 400 Bad Request.Respuesta
{
"data": [],
"meta": {
"page": 1,
"pageSize": 20,
"total": 0,
"totalPages": 1,
"hasNext": false,
"hasPrev": false
}
}
⌘I