# 删除支付帐户

用户从保存的支付帐户中删除支付帐户时，艾克索拉会向Webhook URL发送一个payment_account_remove类型的Webhook。要接收该Webhook，请联系您的客户成功经理或发送电子邮件至csm@xsolla.com。

Endpoint: POST remove-payment-account
Version: 1.0

## Request fields (application/json):

  - `notification_type` (string, required)
    通知类型。

  - `payment_account` (object)
    支付帐户详细信息（对象）。

  - `payment_account.id` (string, required)
    支付帐户ID。

  - `payment_account.name` (string)
    支付帐户在付款系统中的名称（例如支付卡卡号、邮箱等）。

  - `payment_account.payment_method` (integer)
    付款方式ID。

  - `payment_account.type` (string)
    支付帐户类型（例如银行卡、PayPal等）。

  - `settings` (object)
    带有自定义项目设置的对象。

  - `settings.merchant_id` (integer)
    商户ID。

  - `settings.project_id` (integer)
    项目ID。您可以在[帐户](/zh/webhooks/overview/#business-accounts)中项目名称旁找到该参数。

  - `user` (object)
    用户详情（对象）。

  - `user.email` (string)
    用户电子邮件。

  - `user.id` (string, required)
    用户ID。

  - `user.name` (string)
    用户名。

## Response 400 fields (application/json):

  - `error` (object)

  - `error.code` (string)

  - `error.message` (string)


## Response 204 fields

## Response 500 fields
