/metrics
Generated from openapi.yaml. 1 operation.Download the specification.
GET/v1/metrics
Windowed merchant metrics
Defaults to the trailing 30 days, compared against the 30 before it. The current window is end-inclusive, so a charge settling now belongs to today.
Requires your secret key as a bearer token.
Path and query parameters
| Name | In | Required | Description |
|---|---|---|---|
from | query | no | Unix seconds; defaults to 30 days before to |
to | query | no | Unix seconds; defaults to now |
Responses
| Status | Description |
|---|---|
200 | metrics with grossVolume, payments, refunds, netVolume, mrr, activeSubscriptions, newSubscriptions, a previous window and a daily series. |