Pyvio Open API Docs
首页
指南
收款
付款
换汇
收单
湃付卡
其它
首页
指南
收款
付款
换汇
收单
湃付卡
其它
  • 附录

    • 异步通知
    • 交易用途
    • 结汇附录
  • 文件系统

    • 获取文件id
  • mock操作

    • 模拟操作
      • 子商户--User
        • 子商户审核通知
        • 店铺审核通知
        • 编辑收款账户
      • 收款--Collection
        • 模拟入账
        • 入账退回审核
      • 付款--Payment
        • 收款人审核
        • 付款审核
        • 付款退票
        • 转账审核
        • 结汇订单审核
        • 物流审核结果
目录

模拟操作

# 子商户--User

mock操作 API
子商户审核通知 User Notification
店铺审核通知 Shop Notification
编辑收款账户 Edit Global Account

# 子商户审核通知

当子商户被打回并且需要额外材料时,补充材料通过编辑子商户接口 (opens new window)字段extra_document进行上传。

字段 描述
API User Notification
Client Id 创建子商户接口返回的client_id。
Status 审核状态。通过(Active)、拒绝(Deact)、冻结(Suspend)、打回(Returned)。
Return Field 打回字段。
Return Reason 打回原因。
Need Extra Document 是否需要额外补充材料。
Document Description 补充材料的描述信息。

# 店铺审核通知

当店铺被打回时,通过编辑店铺接口 (opens new window)进行重新提交。

字段 描述
API Shop Notification
Shop Id 创建店铺接口返回的shop_id。
Status 审核状态。通过(Approved)、打回(Rejected)、待审核(PendingReview)。
Return Reason 打回原因。

# 编辑收款账户

如果编辑的收款账户是Collection类型时,删除或恢复时,会同时操作这个账户对应的店铺。

字段 描述
API Edit Global Account
GA Id 创建收款账户接口返回的ga_id。
Action 删除(Delete)、恢复(ReStore)。

# 收款--Collection

mock操作 API
收到入账通知 Collection Notification (Pending)
入账需要材料通知 Collection Attachment Notification
入账材料审核结果 Collection Attachment Audit Result Notification
入账审核结果 Collection Notification (Audit Result)
入账退回审核结果 Refund Notification

# 模拟入账

创建收款账户 完成后,使用该账号进行mock入账 (opens new window)操作。

提示

完整的入账流程:

  1. 收到入账通知 -- Collection Notification (Pending)
  2. 入账需要材料通知 -- Collection Attachment Notification
  3. 入账材料提交
  4. 入账材料审核结果 -- Collection Attachment Audit Result Notification
  5. 入账审核结果 -- Collection Notification (Audit Result)

如果只是需要充值账户余额,可以忽略入账材料的相关操作。

第一步: 收到入账通知

字段 描述
API Collection Notification (Pending)
Account Number 接收入账的收款账号。
Amount 入账的金额。

第二步: 入账需要材料通知

字段 描述
API Collection Attachment Notification
Order Id 第一步请求成功返回的order_id。
Attachment Type 入账材料类型。

第三步: 入账材料提交

第四步: 入账材料审核结果

字段 描述
API Collection Attachment Notification
Order Id 第一步请求成功返回的order_id。
State 入账材料审核结果。
Reason 入账材料审核失败原因。

第五步: 入账审核结果

字段 描述
API Collection Notification (Audit Result)
Order Id 第一步请求成功返回的order_id。
State 入账结果。Success/Failure

# 入账退回审核

当入账审核结果为失败时,才可以使用该接口。具体流程参考:入账退回

字段 描述
API Refund Notification
Order Id 入账审核失败的order_id。
State 审核结果。Success/Cancel

# 付款--Payment

mock操作 API
收款人审核结果 Payee Notification
付款审核结果 Payment Notification
付款退票 Payment Refund Notification
转账审核结果 Transfer Notification
结汇订单审核结果 Repatriation Notification
物流审核结果 Supplement Logistics Notification

# 收款人审核

字段 描述
API Payee Notification
Payee Id 通过创建收款人接口 (opens new window)请求成功返回的 payee_id。
State 审核结果。

# 付款审核

字段 描述
API Payment Notification
Order Id 通过创建付款接口 (opens new window)请求成功返回的 order_id。
State 审核结果。

# 付款退票

字段 描述
API Payment Refund Notification
Order Id 通过创建付款接口 (opens new window)请求成功返回的 order_id。

# 转账审核

字段 描述
API Transfer Notification
Order Id 通过创建转账接口 (opens new window)请求成功返回的 order_id。
State 审核结果。

# 结汇订单审核

字段 描述
API Repatriation Notification
Order Id 通过B2B结汇接口 (opens new window)或者B2C结汇接口 (opens new window)请求成功返回的 batch_no。
State 审核结果。

# 物流审核结果

需要通过物流添加接口 (opens new window)添加完后,再使用该接口进行审核操作

字段 描述
API Supplement Logistics Notification
Batch No 通过B2B结汇接口 (opens new window)请求成功返回的 batch_no。
State 审核结果。
获取文件id

← 获取文件id

© PYVIO Rights Reserved
  • 浅色模式
  • 阅读模式