Xsolla-logo

Get reports

get/merchants/{merchant_id}/reports

Gets the list of financial reports over a specified period.

Notice

This API call does not contain the project_id path parameter, so you need to use the API key that is valid in all the company’s projects to set up authorization.

SecuritybasicAuth
Request
path Parameters
merchant_id
required
integer

Merchant ID.

query Parameters
datetime_from
required
string <datetime>

Period start in the YYYY-MM-DD format. Not required if the limit parameter is passed.

Example: datetime_from=2023-02-08
datetime_to
required
string <datetime>

Period end in the YYYY-MM-DD format. Not required if the limit parameter is passed. The difference between datetime_from and datetime_to cannot be more than 92 days.

Example: datetime_to=2023-03-08
Responses
200

OK.

Request samples
Response samples
application/json
[
  • {
    },
  • {
    }
]