...
|
...
|
@@ -223,6 +223,7 @@ class API extends AbstractAPI |
|
|
public function refund(
|
|
|
$orderNo,
|
|
|
$refundNo,
|
|
|
$notifyUrl,
|
|
|
$totalFee,
|
|
|
$refundFee = null,
|
|
|
$opUserId = null,
|
...
|
...
|
@@ -239,6 +240,7 @@ class API extends AbstractAPI |
|
|
'refund_account' => $refundAccount,
|
|
|
'refund_desc' => $refundReason,
|
|
|
'op_user_id' => $opUserId ?: $this->merchant->merchant_id,
|
|
|
'notify_url' => $notifyUrl,
|
|
|
];
|
|
|
|
|
|
return $this->safeRequest($this->wrapApi(self::API_REFUND), $params);
|
...
|
...
|
|