Xsolla-logo

Delete saved account

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

Deletes a saved payment account.

Notice

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

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

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.

type
required
string

Type of payment account.

Enum: Description
card

Bank cards.

amazon

Amazon Pay.

skrill

Skrill Digital Wallet.

paypal

PayPal.

toss

Toss Wallet.

alipayplus_cn

Alipay.

alipayplus_hk

Alipay (Hong Kong).

alipayplus_gcash

GCash.

alipayplus_dana

DANA.

alipayplus_rabbitlinepay

Rabbit LINE pay.

alipayplus_tng

Touch 'n Go.

alipayplus_boost

Boost.

alipayplus_truemoney

TrueMoney Wallet.

softbank_paypay

PayPay.

paysafecard_eu

Paysafecard (EU).

paysafecard_us

Paysafecard (US).

klarna

Klarna. Payment account saving is available only for US, UK, Sweden, Germany, Austria, Norway, Finland, Denmark, Netherlands.

account_id
required
integer

ID of the saved account in Xsolla database.

Responses
204

No Content.

Request samples