x-api-key: ********************curl --location -g --request GET 'https://relay.exostack.cloud//api/customers/payments?page&page_size&brief&include&payment_type&on_hold_only&customer_id&customer_code&from_datetime&to_datetime' \
--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
}