Retourne les factures sous forme de tableau.
[
{
"id": "123",
"status": "PAYED",
"total": 4.99
},
...
]
{ "error": "Can't find any invoices"}
Obtenez les détails des informations sur une factures.
{
"id": 123,
"status": "PAYED",
"paypal_token": "EC-XXXXXXXXXXXXXXXXX",
"total": 4.99,
"date": 1589724360,
"duedate": 1589724360,
"datepaid": 1589724403,
"user_details": {
"city": "Hartpar",
"phone": "+120012301",
"postal": "34000",
"street": "Main street",
"country": "France",
"lastname": "Doe",
"firstname": "John"
},
"items_details": [
{ # This list may change depending on the products!
"id": 1,
"dist": "debian-10",
"host": "test-eob",
"price": 4.99,
"title": "VPS1",
"description": "FR-VPS-1"
...
},
...
]
}
{ "error": "Can't find invoice details"}