x-api-key: ********************curl --location --globoff 'https://relay.exostack.cloud//api/customers/payments?page=undefined&page_size=undefined&brief=undefined&include=undefined&payment_type=undefined&on_hold_only=undefined&customer_id=undefined&customer_code=undefined&from_datetime=undefined&to_datetime=undefined' \
--header 'x-api-key: <api-key>'{
"items": [
{
"id": 140,
"code": "PAI-000140",
"payment_type": {
"id": 1,
"code": "payment",
"label": "Paiement"
},
"payment_date": "2026-03-05T00:00:00",
"customer": {
"id": 215,
"code": "C-1001"
},
"updated_at": "2026-03-05T11:30:00-05:00",
"_links": {
"self": "/api/customers/payments/by-id/140"
}
},
{
"id": 141,
"code": "PAI-000141",
"payment_type": {
"id": 1,
"code": "payment",
"label": "Paiement"
},
"payment_date": "2026-03-06T00:00:00",
"customer": {
"id": 216,
"code": "C-1002"
},
"updated_at": "2026-03-06T10:15:00-05:00",
"_links": {
"self": "/api/customers/payments/by-id/141"
}
}
],
"page": 1,
"page_size": 50,
"total": 2,
"total_pages": 1
}