Limited Release
Use a valid access token and make a GET call to the /v1/commerce/billing/events endpoint to retrieve usage events recorded with PayPal. Include the following query parameters:
| Parameter | Action |
|---|---|
pageinteger | Set the page number for paginated results. Default is 1. |
per_pageinteger | Set the number of events to return per page. Default is 10, maximum is 100. |
external_subscription_idstring | Set to the external_id returned when you created the subscription to filter events for that subscription. |
metric_codestring | Set to the code returned when you created the metric to filter events for that metric. |
from_datestring | Set the start date to filter events from this date (ISO 8601 format). |
to_datestring | Set the end date to filter events until this date (ISO 8601 format). |
200 OK response with the usage events.