- 支付
- 私域
- 公域
- 营销
- 资金
- 会员
- 信用
- 安全
- 其他
线上资金授权冻结接口
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v3/alipay/fund/auth/order/app/freeze
alipay.fund.auth.order.app
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v3/alipay/fund/auth/order/app/freeze' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": "0.01",
"business_params": "{\"outRiskInfo\":\"{\\\"mcCreateTradeTime\\\":\\\"2022-03-11 12:46:09\\\",\\\"extraAccountCertnoLastSix\\\":\\\"000011\\\",\\\"mobileOperatingPlatform\\\":\\\"ios\\\",\\\"sysVersion\\\":\\\"15.4.2\\\",\\\"mcCreateTradeIp\\\":\\\"11.110.111.43\\\"}\"}",
"deposit_product_mode": "POSTPAY",
"disable_pay_channels": "[{\"payChannelType\":\"OPTIMIZED_MOTO\"},{\"payChannelType\":\"BIGAMOUNT_CREDIT_CARTOON\"}]",
"enable_pay_channels": "[{\"payChannelType\":\"PCREDIT_PAY\"},{\"payChannelType\":\"MONEY_FUND\"}]",
"extra_param": "{\"category\":\"CHARGE_PILE_CAR\",\"serviceId\":\"2020042800000000000001450466\"}",
"identity_params": "{\"identity_hash\":\"acc2b92ffc5ed9b472faa19748f10045c30434132784f774b00216a56b8841c6\"}",
"notify_url": "string",
"order_title": "XX租车押金",
"out_order_no": "8077735255938023",
"out_request_no": "8077735255938032",
"pay_timeout": "2d",
"payee_logon_id": "159****5620",
"payee_user_id": "2088102000275795",
"post_payments": [
{
"amount": "string",
"description": "string",
"name": "string"
}
],
"product_code": "PRE_AUTH_ONLINE",
"scene_code": "OVERSEAS_ONLINE_AUTH_COMMON_SCENE",
"settle_currency": "USD",
"timeout_express": "2d",
"trans_currency": "USD"
}'
响应示例响应示例
200 - 示例 1
{
"amount": "0.01",
"auth_no": "2014070800002001550000014417",
"credit_amount": "0.01",
"fund_amount": "0.01",
"operation_id": "2014070800032850551",
"out_order_no": "4977164666634053",
"out_request_no": "2014070700166653",
"payer_open_id": "03914IMEfXsS9K-tSvHy-IisrLlOfthFgDVo-hU30XtKPg9",
"payer_user_id": "2088102000275885",
"pre_auth_type": "CREDIT_AUTH",
"status": "SUCCESS",
"trans_currency": "USD",
"gmt_trans": {}
}
请求参数
Body 参数application/json
amount
string
可选
示例值:
0.01
business_params
string
可选
示例值:
{"outRiskInfo":"{\"mcCreateTradeTime\":\"2022-03-11 12:46:09\",\"extraAccountCertnoLastSix\":\"000011\",\"mobileOperatingPlatform\":\"ios\",\"sysVersion\":\"15.4.2\",\"mcCreateTradeIp\":\"11.110.111.43\"}"}
deposit_product_mode
string
可选
示例值:
POSTPAY
disable_pay_channels
string
可选
示例值:
[{"payChannelType":"OPTIMIZED_MOTO"},{"payChannelType":"BIGAMOUNT_CREDIT_CARTOON"}]
enable_pay_channels
string
可选
示例值:
[{"payChannelType":"PCREDIT_PAY"},{"payChannelType":"MONEY_FUND"}]
extra_param
string
可选
示例值:
{"category":"CHARGE_PILE_CAR","serviceId":"2020042800000000000001450466"}
identity_params
string
可选
示例值:
{"identity_hash":"acc2b92ffc5ed9b472faa19748f10045c30434132784f774b00216a56b8841c6"}
notify_url
string
通知地址
order_title
string
可选
示例值:
XX租车押金
out_order_no
string
可选
示例值:
8077735255938023
out_request_no
string
可选
示例值:
8077735255938032
pay_timeout
string
可选
示例值:
2d
payee_logon_id
string
可选
示例值:
159****5620
payee_user_id
string
可选
示例值:
2088102000275795
post_payments
array[object (PostPayment) {3}]
可选
amount
string
可选
description
string
计费说明
name
string
后付费项目名称
product_code
string
可选
示例值:
PRE_AUTH_ONLINE
scene_code
string
可选
示例值:
OVERSEAS_ONLINE_AUTH_COMMON_SCENE
settle_currency
string
可选
示例值:
USD
timeout_express
string
可选
示例值:
2d
trans_currency
string
可选
示例值:
USD
示例
返回响应
🟢200common response
application/json
Body
amount
string
可选
示例值:
0.01
auth_no
string
可选
示例值:
2014070800002001550000014417
credit_amount
string
可选
示例值:
0.01
fund_amount
string
可选
示例值:
0.01
operation_id
string
可选
示例值:
2014070800032850551
out_order_no
string
可选
示例值:
4977164666634053
out_request_no
string
可选
示例值:
2014070700166653
payer_open_id
string
可选
示例值:
03914IMEfXsS9K-tSvHy-IisrLlOfthFgDVo-hU30XtKPg9
payer_user_id
string
付款方支付宝用户号
示例值:
2088102000275885
pre_auth_type
string
可选
示例值:
CREDIT_AUTH
status
string
可选
INIT:初始 SUCCESS: 成功 CLOSED:关闭
示例值:
SUCCESS
trans_currency
string
可选
示例值:
USD
gmt_trans
string
可选
示例值:
{}
🔴500请求失败