// // XYWalletAPIManager.h // Starbuds // // Created by 翟玉磊 on 2020/7/28. // Copyright © 2020 翟玉磊. All rights reserved. // #import "ZYLAPIManager.h" NS_ASSUME_NONNULL_BEGIN @interface XYWalletAPIManager : ZYLAPIManager /// 获取实名认证信息 /// @param successHandler 请求成功 /// @param failureHandler 请求失败 - (NSNumber *)getAuthInfoSuccessHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler; /// 上传身份证 /// @param faceImg 身份证正面照 /// @param nationImg 身份证反面照 /// @param successHandler 请求成功 /// @param failureHandler 请求失败 - (NSNumber *)addIdWithFaceImg:(NSString *)faceImg nationImg:(NSString *)nationImg successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler; /// 获取卡号信息 /// @param cardNo 卡号 /// @param successHandler 请求成功 /// @param failureHandler 请求失败 - (NSNumber *)queryCardWithCardNo:(NSString *)cardNo successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler; /// 银⾏卡四要素请求鉴权(下发短信验证码) /// @param cardNo 卡号 /// @param mobile 开户预留手机号 /// @param successHandler 请求成功 /// @param failureHandler 请求失败 - (NSNumber *)verifyCardWithCardNo:(NSString *)cardNo mobile:(NSString *)mobile successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler; /// 银⾏卡四要素确认鉴权(上传短信验证码) /// @param cardNo 银⾏卡号 /// @param mobile 开户预留⼿机号 /// @param captcha 短信验证码 /// @param ref 交易凭证 /// @param successHandler 请求成功 /// @param failureHandler 请求失败 - (NSNumber *)verifyConfirmWithCardNo:(NSString *)cardNo mobile:(NSString *)mobile captcha:(NSString *)captcha ref:(NSString *)ref successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler; /// 解绑银行卡 /// @param cardNo 银⾏卡号 /// @param successHandler 请求成功 /// @param failureHandler 请求失败 - (NSNumber *)unBindCardCardNo:(NSString *)cardNo successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler; /// 获取银行卡列表 /// @param successHandler 请求成功 /// @param failureHandler 请求失败 - (NSNumber *)getBankcardListSuccessHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler; /// 申请星尘转出 /// @param amount 金额 /// @param cardNo 卡号 /// @param successHandler 请求成功 /// @param failureHandler 请求失败 - (NSNumber *)applyWithdrawByStarDustWithAmount:(NSString *)amount cardNo:(NSString *)cardNo successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler; /// 申请粉钻转出 /// @param amount 金额 /// @param cardNo 卡号 /// @param successHandler 请求成功 /// @param failureHandler 请求失败 - (NSNumber *)applyWithdrawByPink:(NSString *)amount cardNo:(NSString *)cardNo successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler; /// 获粉钻提现金额选项 /// @param successHandler 请求成功 /// @param failureHandler 请求失败 - (NSNumber *)getWithdrawPinkListSuccessHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler; @end NS_ASSUME_NONNULL_END