Xsolla-logoXsolla Developers
or
To Publisher Account

Retrieve info about automatic purchase

get/v2/merchants/{merchantId}/projects/{projectId}/user/{userId}/auto-topup

Retrieve information about automatic purchase.

SecurityServer
Request
path Parameters
merchantId
required
string

Merchant ID of the client

projectId
required
string

Project ID of the project

userId
required
string <UUID> = 36 characters

Unique User ID.

header Parameters
X-HOST-ID
required
string <UUID> = 36 characters

Unique operator ID.

Responses
200

Information about automatic purchase.

400

Bad request

401

Unauthorized

404

User not found

422

Unprocessable entity

Request samples
curl -i -X GET \
  'http://orbs.babka.com/v2/merchants/{merchantId}/projects/{projectId}/user/{userId}/auto-topup' \
  -H 'X-HOST-ID: stringstringstringstringstringstring' \
  -H 'X-SERVER-AUTHORIZATION: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "items": [
    ]
}