- 支付
- 私域
- 公域
- 营销
- 资金
- 会员
- 信用
- 安全
- 其他
公共事业缴费直连代扣扣款支付接口
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v3/alipay/ebpp/pdeduct/pay
alipay.ebpp.pdeduct
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v3/alipay/ebpp/pdeduct/pay' \
--header 'Content-Type: application/json' \
--data-raw '{
"agent_channel": "PUBLICFORM",
"agent_code": "SECOND",
"agreement_id": "1234557890",
"bill_date": "201410",
"bill_key": "262327843",
"extend_field": "{\"key1\":\"value1\",\"key2\":\"value2\",\r\n\"key3\":\"value3\",\"key4\":\"value4\"}",
"fine_amount": "2.00",
"memo": "memo",
"open_id": "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5",
"out_order_no": "18882329324",
"pay_amount": "23.00",
"pid": "2088611103588892",
"user_id": "2088123411243554"
}'
响应示例响应示例
200 - 示例 1
{
"agreement_id": "1231232132",
"bill_no": "201323423234",
"extend_field": "{\"school_no\":\"SHNU\",\r\n\"student_id\":\"20130516\"}",
"out_order_no": "213134234",
"result_code": "AE0110270001",
"result_msg": "支付金额不足",
"result_status": "1"
}
请求参数
Body 参数application/json
agent_channel
string
可选
示例值:
PUBLICFORM
agent_code
string
可选
示例值:
SECOND
agreement_id
string
支付宝代扣协议Id
示例值:
1234557890
bill_date
string
账期
示例值:
201410
bill_key
string
可选
示例值:
262327843
extend_field
string
可选
示例值:
{"key1":"value1","key2":"value2",
"key3":"value3","key4":"value4"}
fine_amount
string
滞纳金
示例值:
2.00
memo
string
备注信息
示例值:
memo
open_id
string
可选
示例值:
074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5
out_order_no
string
商户外部业务流水号
示例值:
18882329324
pay_amount
string
可选
示例值:
23.00
pid
string
可选
示例值:
2088611103588892
user_id
string
用户ID
示例值:
2088123411243554
示例
返回响应
🟢200common response
application/json
Body
agreement_id
string
支付宝代扣协议ID
示例值:
1231232132
bill_no
string
支付宝订单流水号
示例值:
201323423234
extend_field
string
扩展参数
示例值:
{"school_no":"SHNU",
"student_id":"20130516"}
out_order_no
string
商户代扣业务流水
示例值:
213134234
result_code
string
可选
示例值:
AE0110270001
result_msg
string
可选
示例值:
支付金额不足
result_status
string
可选
示例值:
1
🔴500请求失败