Xsolla-logoXsolla Developers
or
To Publisher Account

Get reportsServer-sideAdmin

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 at least one of the following parameters is passed:

  • limit
  • transfer_id
  • report_id

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

Period end in the YYYY-MM-DD format. Not required if at least one of the following parameters is passed:

  • limit
  • transfer_id
  • report_id
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
curl -i -X GET \
  -u <merchant_id>:<api_key> \
  'https://api.xsolla.com/merchant/v2/merchants/{merchant_id}/reports?datetime_from=string&datetime_to=string'
Response samples
application/json
[
  • {
    },
  • {
    }
]