GET
/
metrics
/
invoices
curl --request GET \
  --url https://api.live.paisr.tech/{version}/metrics/invoices \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "total": 49,
    "unpaid": 9,
    "paid": 40
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json
Successfully retrieved invoice metrics.
success
boolean
Example:

true

data
object