收款账号开通结果(通知)
POST
/api/v2/merch/va/notify
收款账户
请求参数
Header 参数
X-Merch-Id
string
可选
默认值:
M24061911365700670
Body 参数application/json
type
string
必需
version
string
必需
data
object
业务数据
request_id
string
必需
>= 1 字符<= 32 字符
merch_id
string
商户id
>= 1 字符<= 20 字符
status
string
可选
currencies
array[string]
收款币种,原样返回
country_code
string
收款国家,原样返回
type
string
可选
account_no
string
收款账号
bic_swift_code
string
可选
bank_name
string
银行名称
bank_address
string
银行地址
routing_number
string
可选
示例
{
"type": "MERCH",
"data": {
"merch_id": "example",
"status": "ENABLED",
"currency": [
"EUR"
],
"country_code": "example",
"account_type": "LOCAL",
"account_no": "example",
"bic": "example",
"bank": "example",
"bank_name": "example",
"bank_address": "example",
"c_rsc_id": "example"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open-fat.cb.paykka.com/api/v2/merch/va/notify' \
--header 'X-Merch-Id: M24061911365700670' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "MERCH",
"data": {
"merch_id": "example",
"status": "ENABLED",
"currency": [
"EUR"
],
"country_code": "example",
"account_type": "LOCAL",
"account_no": "example",
"bic": "example",
"bank": "example",
"bank_name": "example",
"bank_address": "example",
"c_rsc_id": "example"
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
🟠400请求有误
🟠401没有权限
🟠404记录不存在
🟠429429
🔴500服务器错误
修改于 2025-05-15 08:38:32