- 概述
- 定制配置
- API
- WEB
- SC
- OP
- MP
- MP Copy
- PP
- APP
- OpenApi
- 机构运营报表
- 未命名接口POST
新增支付通道
POST
pts/sc/paychannel/add
最后修改时间:2024-02-20 02:29:28
责任人:严子雄
请求参数
Body 参数application/json
institution_no
string
机构号
<= 256 字符
pay_channel_name
string
通道名称
<= 65535 字符
support_price_currency
string
支持的标价币种
<= 100 字符
默认值:
null
support_settlement_currency
string
支持的结算币种
support_settlement_cycles
string
支持的结算周期
default_settlement_cycle
string
默认结算周期
rounding_mode
string
计费方式
description
string
描述
orig_pay_channel_id
string
原支付通道ID
示例
{
"institution_no": "string",
"pay_channel_name": "string",
"support_price_currency": null,
"support_settlement_currency": "string",
"support_settlement_cycles": "string",
"default_settlement_cycle": "string",
"rounding_mode": "string",
"description": "string",
"orig_pay_channel_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 'pts/sc/paychannel/add' \
--header 'Content-Type: application/json' \
--data-raw '{
"institution_no": "string",
"pay_channel_name": "string",
"support_price_currency": null,
"support_settlement_currency": "string",
"support_settlement_cycles": "string",
"default_settlement_cycle": "string",
"rounding_mode": "string",
"description": "string",
"orig_pay_channel_id": "string"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
🔴500失败