curl "https://api.alguna.io/account/acc_abc123/credit-notes?page=1&limit=20" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"id": "cn_xyz789",
"accountId": "acc_abc123",
"status": "issued",
"total": "100.00",
"currency": "USD",
"createdAt": "2024-01-20T10:00:00Z"
},
{
"id": "cn_abc456",
"accountId": "acc_abc123",
"status": "applied",
"total": "50.00",
"currency": "USD",
"createdAt": "2024-01-15T08:00:00Z"
}
],
"pageCount": 1,
"limit": 20
}
curl "https://api.alguna.io/account/acc_abc123/credit-notes?page=1&limit=20" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"id": "cn_xyz789",
"accountId": "acc_abc123",
"status": "issued",
"total": "100.00",
"currency": "USD",
"createdAt": "2024-01-20T10:00:00Z"
},
{
"id": "cn_abc456",
"accountId": "acc_abc123",
"status": "applied",
"total": "50.00",
"currency": "USD",
"createdAt": "2024-01-15T08:00:00Z"
}
],
"pageCount": 1,
"limit": 20
}
curl "https://api.alguna.io/account/acc_abc123/credit-notes?page=1&limit=20" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"id": "cn_xyz789",
"accountId": "acc_abc123",
"status": "issued",
"total": "100.00",
"currency": "USD",
"createdAt": "2024-01-20T10:00:00Z"
},
{
"id": "cn_abc456",
"accountId": "acc_abc123",
"status": "applied",
"total": "50.00",
"currency": "USD",
"createdAt": "2024-01-15T08:00:00Z"
}
],
"pageCount": 1,
"limit": 20
}