Listar comprovativos enviados
RegistosGET /payment-proofs
List the proofs of payment the consumer sent, with their review status
Pages the proofs of payment the caller has sent, across their tenants unless X-Tenant-ID selects one, each with its review status. Pagination uses limit and after.
Parâmetros
invoice_idReturns only proofs sent for this invoice.
statusReturns only proofs in this review status: pending, approved or rejected.
um de
pending,approved,rejectedlimitMaximum resources to return (default 20, maximum 100).
afterOpaque cursor returned by the previous page.
Devolve
200 OK
curl -X GET "$CONSUMER_API/payment-proofs" \
-H "Authorization: Bearer sk_test_..."
# Sem comando CLI equivalente; use cURL ou HTTP directo.
const res = await fetch("$CONSUMER_API/payment-proofs", {
method: "GET",
headers: {
Authorization: "Bearer sk_test_..."
}
});
const data = await res.json();
import requests
res = requests.get(
"$CONSUMER_API/payment-proofs",
headers={
"Authorization": "Bearer sk_test_..."
}
)
data = res.json()
req, _ := http.NewRequest("GET", "$CONSUMER_API/payment-proofs", nil)
req.Header.Set("Authorization", "Bearer sk_test_...")
resp, err := http.DefaultClient.Do(req)
OK