跳转到主要内容
PATCH
更新实体(银行连接)
更新现有实体的信息。仅包含您要更改的字段。entity_type 在创建后无法更改。

授权

public-api-key
string
header
必填
private-secret-key
string
header
必填

路径参数

entity_id
string
必填

从创建实体获取的实体的 id。

请求体

application/json
account_id
string
必填

商户的 Yuno 账户的唯一标识符(UUID,36 个字符)。

示例:

"550e8400-e29b-41d4-a716-446655440000"

merchant_entity_id
string

商户为此实体自定义的标识符。

示例:

"merchant_user_12345"

phone
object

更新后的电话号码。

address
object

更新后的地址。只包含需要更改的字段。

entity_detail
object

更新后的实体详情。只包含需要更改的字段。

响应

OK

id
string

实体的唯一标识符(前缀为 ent_)。

示例:

"ent_660e8400-e29b-41d4-a716-446655440000"

account_id
string

商户的 Yuno 账户标识符。

示例:

"550e8400-e29b-41d4-a716-446655440000"

merchant_entity_id
string

商户为此实体自定义的标识符。

示例:

"merchant_user_12345"

phone
object
address
object
entity_detail
object
created_at
string

实体创建时的时间戳(ISO 8601)。

示例:

"2026-02-01T10:00:00Z"

updated_at
string

实体最后更新时的时间戳(ISO 8601)。

示例:

"2026-02-01T12:00:00Z"

entity_type
string

实体类型。

示例:

"INDIVIDUAL"