GET
/
metrics
/
payments
curl --request GET \
  --url https://api.live.paisr.tech/{version}/metrics/payments \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "total": 15,
    "pending": {
      "count": 3,
      "currencies": [
        "SRD",
        "USD",
        "EUR"
      ]
    },
    "approved": {
      "count": 3,
      "currencies": [
        "SRD",
        "USD",
        "EUR"
      ]
    },
    "settled": {
      "count": 3,
      "currencies": [
        "SRD",
        "USD",
        "EUR"
      ]
    },
    "cancelled": {
      "count": 3,
      "currencies": [
        "SRD",
        "USD",
        "EUR"
      ]
    },
    "refunded": {
      "count": 3,
      "currencies": [
        "SRD",
        "USD",
        "EUR"
      ]
    }
  }
}

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 payment metrics.
success
boolean
Example:

true

data
object