Skip to main content
GET
/
billing
/
invoices
Get invoices
curl --request GET \
  --url https://rdp.sh/api/v1/billing/invoices \
  --header 'Authorization: <api-key>'
[
  {
    "id": 123,
    "action": "<string>",
    "gateway": "<string>",
    "netto": 123,
    "brutto": 123,
    "duration": 123,
    "paid": true,
    "delivered": true,
    "server_id": 123,
    "plan_id": 123,
    "created_at": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Response

200 - application/json

Invoices retrieved successfully.

id
integer
action
string
Examples:

"purchase"

"renewal"

"topup"

gateway
string
Examples:

"balance"

"cryptomus"

netto
number
brutto
number
duration
integer
paid
boolean
delivered
boolean
server_id
integer
plan_id
integer
created_at
string