|
|
官方文档地址:
创建系统支付订单并返回系统退款订单ID:
- $refund_id = refund_create_order($tid, $module, $fee, $reason);
复制代码 发起退款:
- $refund_result = refund($refund_id);
复制代码
返回:
- return_code=SUCCESS; return_msg=OK; appid=wx847fbc7dcdffd516; mch_id=1578185931; nonce_str=prR76AoYwR4yNUCi; sign=901F65CD1E3F0EC1CE6971D87E93CBC3; result_code=SUCCESS; transaction_id=4200002101202401295651026852; out_trade_no=2024012912503900001758054857; out_refund_no=2024013015524200001738714864; refund_id=50301508612024013075962009668; refund_channel={}; refund_fee=1; coupon_refund_fee=0; total_fee=1; cash_fee=1; coupon_refund_count=0; cash_refund_fee=1;
复制代码
|
|