search

Home  >  Q&A  >  body text

java - 支付宝即时到账批量退款有密接口退款是退给商户还是用户?

教程里面没怎么说清楚。如果是退给用户,那么就很简单了。但是如果是退给商户,我们网站还得转账给用户。关键是请求的时候没有用户的任何信息,所以我感觉上不确定到底是退困给谁。

请各位大神帮帮忙

谢谢

迷茫迷茫2769 days ago851

reply all(4)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 11:41:46

    Can I ask all the questions at once =,=

    Can you read the document carefully? Refund needs to pass an order number parameter. You can pass the order number and it will be ok. Pass the order number and merchant number to Alipay and it will match the total amount of money that needs to be refunded. Pay attention to your own transaction fees. After the transaction limit is exceeded, a fee will be charged for each transaction.

    $params = array();
    $params['detail_data'] = '支付宝交易订单号^退款金额^退款描述#第二笔支付宝交易订单号^退款金额^退款描述';
    
    // 退款总笔数
    $params['batch_num'] = '2';
    
    

    After successful payment, save your Alipay serial number - -#

    reply
    0
  • 黄舟

    黄舟2017-04-17 11:41:46

    Wouldn’t it be more reasonable to ask the official Alipay about this kind of question...

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 11:41:46

    The money will be refunded to whoever paid, back to the original route, that is, if the user paid with a bank card, the money will be refunded to the bank card.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 11:41:46

    return_url or notify_url will send you the user number

    reply
    0
  • Cancelreply