Authorization: Bearer ********************
curl --location --request GET 'https://api.servebolt.io/v1/invoices' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
{
"data": [
{
"id": "string",
"type": "string",
"attributes": {
"customerId": "string",
"subscriptionId": "string",
"recurring": true,
"status": "string",
"dueDate": 0,
"priceType": "string",
"appliedCredits": [
{
"applied_amount": 0,
"applied_at": 0,
"cn_id": "string",
"cn_reason_code": "string",
"cn_create_reason_code": "string",
"cn_date": 0,
"cn_status": "string"
}
],
"subTotal": 0,
"tax": 0,
"total": 0,
"currencyCode": "string",
"date": 0,
"updatedAt": 0
}
}
],
"links": {
"first": "string",
"last": "string",
"prev": null,
"next": "string"
},
"meta": {
"current_page": 0,
"from": 0,
"last_page": 0,
"links": [
{
"url": "string",
"label": "string",
"active": true
}
],
"path": "string",
"per_page": 0,
"to": 0,
"total": 0
}
}