- 概述
- 定制配置
- API
- WEB
- SC
- OP
- MP
- MP Copy
- PP
- APP
- OpenApi
- 机构运营报表
- 未命名接口POST
添加支付选项
开发中
POST
pbs/sc/checkout/paymentoption/add
最后修改时间:2024-07-18 03:14:53
责任人:未设置
请求参数
Body 参数application/json
institution_no
string
机构号
option_id
string
支付选项ID
option_name
string
名称
type
integer
可选
description
string
说明
icon
string
图标
banner
string
横幅
component_id
string
客户端组件ID
示例
{
"institution_no": "string",
"option_id": "string",
"option_name": "string",
"type": 0,
"description": "string",
"icon": "string",
"banner": "string",
"component_id": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'pbs/sc/checkout/paymentoption/add' \
--header 'Content-Type: application/json' \
--data-raw '{
"institution_no": "string",
"option_id": "string",
"option_name": "string",
"type": 0,
"description": "string",
"icon": "string",
"banner": "string",
"component_id": "string"
}'
返回响应
🟢200成功
application/json
Body
code
string
错误码
msg
string
错误描述
psn
string
报文序列号
data
object
业务数据
示例
{
"code": "string",
"msg": "string",
"psn": "string",
"data": {}
}
🔴500失败