Xsolla-logo

Get saved accounts

get/projects/{project_id}/users/{user_id}/payment_accounts

Lists saved payment accounts of a given user.

Notice

For the API call to work correctly, configure a timeout of 2 minutes.

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

Project ID.

user_id
required
string

Unique user ID in the game stored on your side. Make sure you pass the existing user ID. In case an error occurs, refer to the answers to the FAQs.

query Parameters
mode
string

Set to sandbox to test the payment process. Remove the parameter to make real payments.

Responses
200

OK.

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