User

Get Invoices

Get the current user invoices

get/api/users/@me/invoices

Request

  • Base URL: https://nodesty.com
  • URL: https://nodesty.com/api/users/@me/invoices
  • Auth: API key in header Authorization

Response

List of invoices for current user

appliedBalancenumber

Balance applied to the invoice

dateinteger

Unix timestamp of the invoice creation date

datePaidinteger nullable

Unix timestamp of the invoice payment date, null if not paid

dueDateinteger

Unix timestamp of the invoice due date

idinteger

Unique identifier for the invoice

isServiceInvoiceboolean

Whether the invoice is for a service or an add funds invoice

status'Draft' | 'Paid' | 'Unpaid' | 'Overdue' | 'Cancelled' | 'Refunded' | 'Payment Pending'

Status of the invoice

subTotalnumber

Subtotal amount of the invoice

totalnumber

Total amount of the invoice

Example response

[
  {
    "appliedBalance": 20,
    "date": 1700000000000,
    "datePaid": 1700000000000,
    "dueDate": 1700000000000,
    "id": 1,
    "isServiceInvoice": true,
    "status": "Unpaid",
    "subTotal": 100,
    "total": 120
  }
]

Changes

No recorded changes to this operation across all 3 revisions of this API.