Skip to content

List invoices (legacy)

POST
/api/invoices/list

Post /api/invoices/list

Request Body required

object
where
object
userId
string
sessionId
string
isPaid
boolean
for
string
Allowed values: ChargingDeposit ChargingPayment
pagination
required
object
skip
integer
>= -9007199254740991 <= 9007199254740991
take
integer
>= -9007199254740991 <= 9007199254740991

Responses

200

Response for status ok

object
success
required
boolean
invoices
required
Array
Any of:
object
id
required
string
>= 21 characters <= 21 characters
namespaceId
required
string
userId
required
string
sessionId
required
string
>= 21 characters <= 21 characters
price
required
integer
>= -9007199254740991 <= 9007199254740991
currency
required
string
>= 3 characters <= 3 characters
for
required
string
Allowed values: ChargingDeposit ChargingPayment
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
isPaid
required
boolean
count
required
integer
<= 9007199254740991

403

Response for status forbidden

object
success
required
boolean
message
required
string

500

Response for status internalServerError

object
success
required
boolean
message
required
string