List Dynamic Charges with Due Date
curl --request GET \
--url https://plugin-pix-indirect.api.lerian.net/v1/collections/duedate \
--header 'Authorization: Bearer <token>' \
--header 'X-Account-Id: <x-account-id>'import requests
url = "https://plugin-pix-indirect.api.lerian.net/v1/collections/duedate"
headers = {
"X-Account-Id": "<x-account-id>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Account-Id': '<x-account-id>', Authorization: 'Bearer <token>'}
};
fetch('https://plugin-pix-indirect.api.lerian.net/v1/collections/duedate', 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://plugin-pix-indirect.api.lerian.net/v1/collections/duedate",
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>",
"X-Account-Id: <x-account-id>"
],
]);
$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://plugin-pix-indirect.api.lerian.net/v1/collections/duedate"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Account-Id", "<x-account-id>")
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://plugin-pix-indirect.api.lerian.net/v1/collections/duedate")
.header("X-Account-Id", "<x-account-id>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://plugin-pix-indirect.api.lerian.net/v1/collections/duedate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Account-Id"] = '<x-account-id>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"additionalInfo": {
"customerId": "67890",
"orderId": "12345"
},
"amount": {
"original": "100.00",
"abatement": {
"modality": "PERCENT",
"value": "3.00"
},
"discount": {
"modality": "AMOUNT_ADVANCE_BUSINESS_DAY",
"discountDateFixed": [
{
"date": "2024-12-25",
"value": "10.00"
}
],
"value": "5.00"
},
"fine": {
"modality": "PERCENT",
"value": "2.00"
},
"interest": {
"modality": "PERCENTAGE_PER_MONTH_CALENDAR_DAYS",
"value": "1.00"
}
},
"createdAt": "2024-01-15T10:30:00Z",
"debtor": {
"address": "Rua das Flores, 123",
"city": "São Paulo",
"document": "12345678901",
"email": "joao@example.com",
"name": "João da Silva",
"state": "SP",
"zipCode": "01310-100"
},
"deletedAt": "2024-01-25T10:30:00Z",
"description": "Payment for order #12345",
"dueDate": "2024-12-31",
"emv": "00020126580014br.gov.bcb.pix...",
"id": "550e8400-e29b-41d4-a716-446655440010",
"locationUrl": "https://api.example.com/qr/550e8400",
"metadata": {},
"receiver": {
"address": "Rua das Flores, 123",
"city": "São Paulo",
"document": "12345678901",
"name": "João da Silva",
"state": "SP",
"tradeName": "Company Name",
"zipCode": "01310-100"
},
"receiverKey": "+5511999999999",
"review": 0,
"status": "ACTIVE",
"tags": [
"ecommerce",
"subscription"
],
"txId": "TXabcdefghijklmno123456789",
"updatedAt": "2024-01-20T14:45:00Z",
"validAfterDue": 5
}
],
"limit": 20,
"page": 1,
"total": 150
}{
"code": "<string>",
"title": "<string>",
"message": "<string>"
}{
"code": "<string>",
"title": "<string>",
"message": "<string>"
}List Dynamic Charges with Due Date
Use this endpoint to list all due date collections for an account with optional filters and pagination. Returns empty array [] if no collections match the criteria.
GET
/
v1
/
collections
/
duedate
List Dynamic Charges with Due Date
curl --request GET \
--url https://plugin-pix-indirect.api.lerian.net/v1/collections/duedate \
--header 'Authorization: Bearer <token>' \
--header 'X-Account-Id: <x-account-id>'import requests
url = "https://plugin-pix-indirect.api.lerian.net/v1/collections/duedate"
headers = {
"X-Account-Id": "<x-account-id>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Account-Id': '<x-account-id>', Authorization: 'Bearer <token>'}
};
fetch('https://plugin-pix-indirect.api.lerian.net/v1/collections/duedate', 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://plugin-pix-indirect.api.lerian.net/v1/collections/duedate",
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>",
"X-Account-Id: <x-account-id>"
],
]);
$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://plugin-pix-indirect.api.lerian.net/v1/collections/duedate"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Account-Id", "<x-account-id>")
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://plugin-pix-indirect.api.lerian.net/v1/collections/duedate")
.header("X-Account-Id", "<x-account-id>")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://plugin-pix-indirect.api.lerian.net/v1/collections/duedate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Account-Id"] = '<x-account-id>'
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"additionalInfo": {
"customerId": "67890",
"orderId": "12345"
},
"amount": {
"original": "100.00",
"abatement": {
"modality": "PERCENT",
"value": "3.00"
},
"discount": {
"modality": "AMOUNT_ADVANCE_BUSINESS_DAY",
"discountDateFixed": [
{
"date": "2024-12-25",
"value": "10.00"
}
],
"value": "5.00"
},
"fine": {
"modality": "PERCENT",
"value": "2.00"
},
"interest": {
"modality": "PERCENTAGE_PER_MONTH_CALENDAR_DAYS",
"value": "1.00"
}
},
"createdAt": "2024-01-15T10:30:00Z",
"debtor": {
"address": "Rua das Flores, 123",
"city": "São Paulo",
"document": "12345678901",
"email": "joao@example.com",
"name": "João da Silva",
"state": "SP",
"zipCode": "01310-100"
},
"deletedAt": "2024-01-25T10:30:00Z",
"description": "Payment for order #12345",
"dueDate": "2024-12-31",
"emv": "00020126580014br.gov.bcb.pix...",
"id": "550e8400-e29b-41d4-a716-446655440010",
"locationUrl": "https://api.example.com/qr/550e8400",
"metadata": {},
"receiver": {
"address": "Rua das Flores, 123",
"city": "São Paulo",
"document": "12345678901",
"name": "João da Silva",
"state": "SP",
"tradeName": "Company Name",
"zipCode": "01310-100"
},
"receiverKey": "+5511999999999",
"review": 0,
"status": "ACTIVE",
"tags": [
"ecommerce",
"subscription"
],
"txId": "TXabcdefghijklmno123456789",
"updatedAt": "2024-01-20T14:45:00Z",
"validAfterDue": 5
}
],
"limit": 20,
"page": 1,
"total": 150
}{
"code": "<string>",
"title": "<string>",
"message": "<string>"
}{
"code": "<string>",
"title": "<string>",
"message": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Account ID (UUID format)
Query Parameters
Maximum number of collections per page (1-100)
Page number for pagination (starting at 1)
Status filter
Tags filter
Was this page helpful?
⌘I

