Xsolla-logo

Delete saved account

delete/projects/{project_id}/users/{user_id}/payment_accounts/{type}/{account_id}

Deletes a saved payment account.

Note

You can call this API method in sandbox mode. To do this, pass the test payment account data in the request. Refer to the instruction for more information about sandbox mode access and testing scenarios.

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

Project ID.

user_id
required
string

User ID.

type
required
string

Type of payment account.

Enum: Description
card

Bank cards.

amazon

Amazon Pay.

skrill

Skrill Digital Wallet.

yandex

YooMoney.

paymasterwebmoney

WebMoney.

paypal

PayPal.

qiwi

QIWI Wallet.

toss

Toss Wallet.

account_id
required
integer

ID of the saved account in Xsolla database.

Responses
204

No Content.

Request samples