Commit 8563f3dd authored by 夏彬's avatar 夏彬

添加企业付款回调的code验证的接口

parent 70cc485a
......@@ -36,4 +36,17 @@ class Transfer extends Client
return self::call('transfer.create', compact('uid', 'type', 'channel', 'amount', 'recipient', 'callbackUrl', 'body', 'recipientName', 'description'));
}
/**
* 验证支付回调码
*
* @param string $orderno
* @param string $code
* @return bool 返回true代表验证通过,返回false验证失败
*/
public static function verifyNotifyCode($orderno, $code)
{
return self::call('transfer.verifyNotifyCode', compact('orderno', 'code'));
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment