Xsolla-logo

Get transactions

get/merchants/{merchant_id}/users/transactions.json

Lists all transactions of a user.

SecuritybasicAuth
Request
path Parameters
merchant_id
required
integer

Merchant ID.

query Parameters
user_id
required
string

User ID.

datetime_from
required
string <datetime>

Period start.

datetime_to
required
string <datetime>

Period end.

transaction_type
string

Type of transaction, can be payment, coupon, inGamePurchase, internal, or cancellation.

Responses
200

OK.

404

Not Found.

Request samples
curl -i -X GET \
  -u <username>:<password> \
  'https://api.xsolla.com/merchant/v2/merchants/{merchant_id}/users/transactions.json?user_id=string&datetime_from=string&datetime_to=string&transaction_type=string'