Metrics
Get Payment Metrics
Getting Started
- Overview
- Authentication
- Concepts
- Error Codes
- Real-time Events
- Changelog
Core Profile
- Profile
- Members
- Owners
- Addresses
- Documents
- Access Tokens
- Webhooks
Core Wallet
- Wallets
- Balances
- Accounts
- Contacts
- Payment Links
- Statements
- Transfers
- Transactions
Billing & Payments
- Customers
- Plans
- Vouchers
- Invoices
- Subscriptions
- Payments
Integrations
- Payment Providers
Analytics & Logs
Resources
- Banks
- Countries
- Currencies
- Events
- Industries
- Legal Form
- Providers
- Scopes
Get Payment Metrics
Fetch payment metrics. (Business Only)
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
Successfully retrieved payment metrics.
Example:
true
Example:
15
Was this page helpful?
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"
]
}
}
}