API reference
Reports API
Get payment volume by Date Range
GET /api/v1/reports/payment-volume?organizationId=bf368afb-ed57-4345-a04a-7c7213431a99&fromDate=2024-07-31T14:30:00Z&toDate=2024-08-31T14:30:00Z
Required URL Query Parameters
- organizationId (string): Specifies the organizationId ID to filter payment volumes by organization.
- fromDate (date): The start date for the payment event period in ISO 8601 format.
- toDate (date): The end date for the payment event period in ISO 8601 format.
Optional URL Query Parameters
- merchantAccountId (string): Specifies the merchant ID to filter payment volumes by merchant.
Response
{
"status": "ok",
"data": {
"currency": "USD",
"rows": [
{
"date": "2024-06-01",
"volume": 0
},
{
"date": "2024-06-02",
"volume": 16037
},
{
"date": "2024-06-03",
"volume": 48488
},
{
"date": "2024-06-04",
"volume": 45244
},
{
"date": "2024-06-05",
"volume": 0
},
{
"date": "2024-06-06",
"volume": 68146
},
{
"date": "2024-06-07",
"volume": 67008
},
{
"date": "2024-06-08",
"volume": 98881
},
{
"date": "2024-06-09",
"volume": 0
},
{
"date": "2024-06-10",
"volume": 0
},
{
"date": "2024-06-11",
"volume": 0
},
{
"date": "2024-06-12",
"volume": 114818
},
{
"date": "2024-06-13",
"volume": 76513
},
{
"date": "2024-06-14",
"volume": 24106
},
{
"date": "2024-06-15",
"volume": 16623
},
{
"date": "2024-06-16",
"volume": 110447
},
{
"date": "2024-06-17",
"volume": 0
},
{
"date": "2024-06-18",
"volume": 0
},
{
"date": "2024-06-19",
"volume": 32225
},
{
"date": "2024-06-20",
"volume": 130977
},
{
"date": "2024-06-21",
"volume": 0
},
{
"date": "2024-06-22",
"volume": 10534
},
{
"date": "2024-06-23",
"volume": 80717
},
{
"date": "2024-06-24",
"volume": 229553
},
{
"date": "2024-06-25",
"volume": 35865
},
{
"date": "2024-06-26",
"volume": 40337
},
{
"date": "2024-06-27",
"volume": 0
},
{
"date": "2024-06-28",
"volume": 185129
},
{
"date": "2024-06-29",
"volume": 55542
},
{
"date": "2024-06-30",
"volume": 90348
},
{
"date": "2024-07-01",
"volume": 0
}
]
}
}
Get payment summary by Date Range
GET /api/v1/reports/payment-summary?organizationId=bf368afb-ed57-4345-a04a-7c7213431a99&fromDate=2024-07-01T00:00:00Z&toDate=2024-07-31T00:00:00Z
Required URL Query Parameters
- organizationId (string): Specifies the organizationId ID to filter payment summary by organization.
- fromDate (date): The start date for the payment event period in ISO 8601 format.
- toDate (date): The end date for the payment event period in ISO 8601 format.
Optional URL Query Parameters:
- merchantAccountId (string): Specifies the merchant ID to filter payment summary by merchant.
Response
{
"status": "ok",
"data": {
"currency": "USD",
"totalVolume": 1329716,
"averageVolume": 40294,
"totalRefundedVolume": 193226,
"totalPaymentsCount": 33,
"totalChargebacksVolume": 84707,
"achChargebacksCount": 0,
"cardChargebackCount": 4
}
}