跳转到主要内容
POST
取消注册支付方式
为客户取消注册之前保存的支付方式。 要执行此操作,请在请求路径中提供 payment_method_id。请求成功后,支付方式的状态将更新为 UNENROLLED,使其变为非活跃状态,不能再用于后续交易。

授权

public-api-key
string
header
默认值:<Your public-api-key>
必填
private-secret-key
string
header
默认值:<Your private-secret-key>
必填

路径参数

payment_method_id
string
必填

要取消注册的支付方式 id(UUID,36 个字符)。

响应

200

id
string
示例:

"77ee4a02-da3e-4a11-ac15-ba69e1813475"

idempotency_key
any
account_id
string
示例:

"493e9374-510a-4201-9e09-de669d75f256"

name
string
示例:

"VISA ****1111"

description
string
示例:

"VISA ****1111"

type
string
示例:

"CARD"

category
string
示例:

"CARD"

country
string
示例:

"US"

status
string
示例:

"UNENROLLED"

created_at
string
示例:

"2024-06-06T13:28:57.149530Z"

updated_at
string
示例:

"2024-06-06T13:31:13.945554Z"

enrollment
object
provider
object
verify
object
preferred
any