OxaPay icon

OxaPay

OxaPay Crypto Payment gateway

Payment → Get Payment Statistics

AI-generated

Summary

Retrieve aggregated payment statistics for a merchant, optionally filtered by payment type, blockchain network, pay currency symbol, and a date range specified by UNIX timestamps.

Inputs

  • Filters — Optional filters to narrow the payment statistics: Type (All, Invoice, White Label, Static Address), Network (blockchain network), Pay Currency (cryptocurrency symbol), From Date (UNIX timestamp), and To Date (UNIX timestamp).

Output shape

a single JSON object containing aggregated payment statistics grouped by cryptocurrency for the merchant account

The operation returns aggregated statistics and supports filtering parameters to scope the data. The response shape depends on the OxaPay API response to the /payment/stats GET endpoint.

Examples

Example 1: Get payment statistics for all types on a specific blockchain network within a time window

Set Type to All, specify the Network string, and set From Date and To Date UNIX timestamps in the Filters.

Links

Discussion