Get QR Code statistics (24h)
Get QR Code statistics (24h)
Returns aggregated statistics of the account's QR Codes in the last 24 hours.
Includes:
- Number of QR Codes generated
- Number of QR Codes paid
- Number of refunds
- Total values (generated, paid, refunded)
- Conversion rate (paid/generated)
- Hourly data (last 24h)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
accountId
Account ID.
Headers
X-Tenant-Id
Tenant context used for authorization and routing.
Response
Statistics returned successfully.
generated
Number of QR Codes generated.
paid
Number of QR Codes paid.
refunded
Number of refunds processed.
totalValueGenerated
Total value of generated QR Codes. Amount in BRL. Max 2 decimal places (e.g., 7500.00 for R$7.500,00).
totalValuePaid
Total value of paid QR Codes. Amount in BRL. Max 2 decimal places (e.g., 2250.00 for R$2.250,00).
totalValueRefunded
Total refunded value. Amount in BRL. Max 2 decimal places (e.g., 100.00 for R$100,00).
conversionRate
Conversion rate (paid/generated * 100).
hourlyData
Aggregated data per hour (last 24h available).
Errors
400
Bad Request Error
500
Internal Server Error