package org.jeecg.modules.pay.config;

/**
 * @author wangzhiqiang
 * @Date 2025/08/21
 * @Desc 微信相关接口请求地址
 */
public class WechatUrlConstants {

    //微信支付v3 jsapi下单
    public final static String PAY_V3_JSAPI = "https://api.mch.weixin.qq.com/v3/pay/partner/transactions/jsapi";

    //微信支付v3 申请退款
    public final static String PAY_V3_REFUND = "https://api.mch.weixin.qq.com/v3/refund/domestic/refunds";

    //微信支付v3 通过商户订单号查询订单
    public final static String PAY_V3_QUERY_OUT = "https://api.mch.weixin.qq.com/v3/pay/partner/transactions/out-trade-no/{out_trade_no}";

    //微信支付v3 支付通知接口地址
    public final static String PAY_V3_NOTIFY = "https://6a34b652.r28.cpolar.top/jeecgboot/app/order/wechatPayNotify";

    //微信支付v3 退款通知接口地址
    public final static String PAY_V3_REFUND_NOTIFY = "https://6a34b652.r28.cpolar.top/jeecgboot/app/order/callback/refundOrderNotify";

    //服务商 添加分账接收方
    public final static String PAY_V3_RECEIVERS_ADD = "https://api.mch.weixin.qq.com/v3/profitsharing/receivers/add";

    //服务商 删除分账接收方
    public final static String PAY_V3_RECEIVERS_DELETE = "https://api.mch.weixin.qq.com/v3/profitsharing/receivers/delete";

    //服务商 请求分账
    public final static String PAY_V3_PROFIT_SHARING = "https://api.mch.weixin.qq.com/v3/profitsharing/orders";

    //服务商 查询分账结果
    public final static String PAY_V3_GET_PROFIT_SHARING = "https://api.mch.weixin.qq.com/v3/profitsharing/orders/";

    //服务商 请求分账回退
    public final static String PAY_V3_RETURN_ORDER = "https://api.mch.weixin.qq.com/v3/profitsharing/return-orders";

    //服务商 请求分账回退查询
    public final static String PAY_V3_GET_RETURN_ORDER = "https://api.mch.weixin.qq.com/v3/profitsharing/return-orders/";

}
