List Invoices
GET
/v1/invoicesGet all the available invoices of the account
Request
Header Params
Accept
string
required
Example:
application/json
Content-Type
string
required
Example:
application/json
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {3}]
required
id
string
required
type
string
required
attributes
object
required
links
object
required
first
string
required
last
string
required
prev
null
required
next
string
required
meta
object
required
current_page
integer
required
from
integer
required
last_page
integer
required
links
array [object {3}]
required
path
string
required
per_page
integer
required
to
integer
required
total
integer
required
Example
{
"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
}
}
Last modified: 7 months ago