Xsolla-logo

Get saved accountsServer-side

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

Lists saved payment accounts of a given user.

Note

In sandbox mode, this API call works only with test cards that have no 3-D Secure function.

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
[
  • {
    }
]