Invoices
User invoices management.
List invoices
GET
https://api.rahona.network/me/invoices
Return invoices in an array.
[
{
"id": "123",
"status": "PAYED",
"total": 4.99
},
...
]
Get invoice details
GET
https://api.rahona.network/me/invoices/:id
Get invoice informations details.
Path Parameters
Name
Type
Description
id
integer
invoice id
{
"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"
...
},
...
]
}
Dernière mise à jour
Cet article vous a-t-il été utile ?