Appearance
创建收款人
POST
/openapi/member/v1/disbursement/payee/create请求参数 Body · application/json
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
| displayName | string | 必选 | 展示名;<= 200 |
| paypalEmail | string | 必选 | PayPal 收款邮箱;同商户不可重复 |
| firstname | string | 必选 | 名;<= 100 |
| lastname | string | 必选 | 姓;<= 100 |
| phone | string | 可选 | 建议带区号,如 +12025550123 |
| country | string | 可选 | 首期建议 US |
| state | string | 可选 | 州二位码,如 CA |
| city | string | 可选 | 城市 |
| address | string | 可选 | 街道地址 |
| zipcode | string | 可选 | 邮编 |
| currency | string | 可选 | 首期固定 USD |
| remark | string | 可选 | 备注;<= 500 |
返回参数 data 解密后
| 字段 | 类型 | 说明 |
|---|---|---|
| payeeId | number | 收款人 ID |
| displayName | string | 展示名 |
| paypalEmail | string | PayPal 邮箱 |
| firstname | string | 名 |
| lastname | string | 姓 |
| phone | string | 手机号 |
| country | string | 国家 |
| state | string | 州 |
| city | string | 城市 |
| address | string | 地址 |
| zipcode | string | 邮编 |
| currency | string | 币种 |
| status | number | 1 启用 / 0 禁用 |
| remark | string | 备注 |
| createTime | string | 创建时间 |
请求示例
json
{
"displayName": "John Doe",
"paypalEmail": "john@example.com",
"firstname": "John",
"lastname": "Doe",
"phone": "+12025550123",
"country": "US",
"state": "CA",
"city": "Los Angeles",
"address": "1 Main St",
"zipcode": "90001",
"currency": "USD",
"remark": "optional"
}响应示例
json
{
"payeeId": 10001,
"displayName": "John Doe",
"paypalEmail": "john@example.com",
"firstname": "John",
"lastname": "Doe",
"phone": "+12025550123",
"country": "US",
"state": "CA",
"city": "Los Angeles",
"address": "1 Main St",
"zipcode": "90001",
"currency": "USD",
"status": 1,
"remark": "optional",
"createTime": "2026-04-01T08:00:00Z"
}