public interface ExternalCorPayApi
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.rxjava3.core.Single<BillResponse> |
getBillList(BillRequest request)
获取对外收款记录
|
io.reactivex.rxjava3.core.Single<FundFlowResponse> |
getFundFlow(FundFlowRequest request)
获取资金流水
|
io.reactivex.rxjava3.core.Single<MchDetailResponse> |
getMerchant(MchId mchId)
查询商户号详情
|
io.reactivex.rxjava3.core.Single<GenericResponse<List<OutTradeNo>>> |
getPaymentInfo(PaymentId paymentId)
获取收款项目的商户单号
|
io.reactivex.rxjava3.core.Single<WeComResponse> |
setMchUseScope(MchScopeRequest request)
设置商户号使用范围
|
@POST(value="externalpay/getmerchant") io.reactivex.rxjava3.core.Single<MchDetailResponse> getMerchant(@Body MchId mchId)
通过该接口可以查询已绑定商户号信息以及商户号使用范围
只允许对外收款应用的接口凭证调用该接口
mchId - the mch idio.reactivex.rxjava3.core.Single<WeComResponse> setMchUseScope(@Body MchScopeRequest request)
通过该接口可以设置已绑定商户号的使用范围
只允许对外收款应用的接口凭证调用该接口
request - the request@POST(value="externalpay/get_bill_list") io.reactivex.rxjava3.core.Single<BillResponse> getBillList(@Body BillRequest request)
企业和服务商可通过此接口获取企业的对外收款记录
补充说明:
权限说明:
request - the request@POST(value="externalpay/get_payment_info") io.reactivex.rxjava3.core.Single<GenericResponse<List<OutTradeNo>>> getPaymentInfo(@Body PaymentId paymentId)
获取对外收款项目中每笔收款的商户单号
权限说明:
paymentId - the payment id@POST(value="externalpay/get_fund_flow") io.reactivex.rxjava3.core.Single<FundFlowResponse> getFundFlow(@Body FundFlowRequest request)
企业可通过此接口获取企业的资金流水。
补充说明:
request - the requestCopyright © 2023. All rights reserved.