变更实体账户状态
开发中
POST
openapi/account/changestatusforaccount
应用场景:与银行后管系统集成时,企业客户需要通过银行柜面办理销户业务,相关信息需要从银行后管系统中同步过来,不允许企业客户在资金平台销户账户;企业财务系统同步账户信息到资金平台;
请求参数
Body 参数application/json
oid
string
来源ID
op_flag
integer
操作
destroy_date
string <date>
销户日期
示例
{
"oid": "string",
"op_flag": 0,
"destroy_date": "2019-08-24"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'openapi/account/changestatusforaccount' \
--header 'Content-Type: application/json' \
--data-raw '{
"oid": "string",
"op_flag": 0,
"destroy_date": "2019-08-24"
}'
返回响应
🟢200成功
application/json
Body
array of:
oid
string
来源ID
code
string
状态
message
string
失败描述
示例
[
{
"oid": "string",
"code": "string",
"message": "string"
}
]