curl --request GET \
--url https://api.platform.dakota.xyz/billing/invoices/{year}/{month} \
--header 'x-api-key: <api-key>'{
"invoices": [
{
"id": 12345,
"clientId": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"periodStart": "2025-01-01T00:00:00Z",
"periodEnd": "2025-02-01T00:00:00Z",
"volumeUSD": "1250000.50",
"transactionCount": 150,
"transferFeeCalculated": "2250.00",
"monthlyMinimum": "1500.00",
"baseFeeCharged": "2250.00",
"achCount": 120,
"wireCount": 25,
"sepaCount": 5,
"achFees": "120.00",
"wireFees": "625.00",
"sepaFees": "7.50",
"totalAmount": "3002.50",
"stripeInvoiceId": "in_1234567890",
"createdAt": "2025-01-15T10:30:00Z"
}
]
}Retrieve all invoices for a given year and month. Super admin only.
curl --request GET \
--url https://api.platform.dakota.xyz/billing/invoices/{year}/{month} \
--header 'x-api-key: <api-key>'{
"invoices": [
{
"id": 12345,
"clientId": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"periodStart": "2025-01-01T00:00:00Z",
"periodEnd": "2025-02-01T00:00:00Z",
"volumeUSD": "1250000.50",
"transactionCount": 150,
"transferFeeCalculated": "2250.00",
"monthlyMinimum": "1500.00",
"baseFeeCharged": "2250.00",
"achCount": 120,
"wireCount": 25,
"sepaCount": 5,
"achFees": "120.00",
"wireFees": "625.00",
"sepaFees": "7.50",
"totalAmount": "3002.50",
"stripeInvoiceId": "in_1234567890",
"createdAt": "2025-01-15T10:30:00Z"
}
]
}