withdraw_data.go 1.2 KB

123456789101112131415161718192021
  1. package crush
  2. type (
  3. withdraw_req struct {
  4. MerchantOrderId string `json:"merchantOrderId,omitempty"` // 商户订单ID
  5. OrderAmount string `json:"orderAmount,omitempty"` // 订单金额,单位:元,带两位小数(埃及代付需填整数,如23.00)
  6. UserName string `json:"userName,omitempty"` // 收款人名字
  7. BankName string `json:"bankName,omitempty"` // 收款银行名称(秘鲁支持银行BCP、Interbank、BBVA、scotiabank)
  8. AccountNumber string `json:"accountNumber,omitempty"` // 收款银行账户
  9. MobileNumber string `json:"mobileNumber,omitempty"` // 收款人手机号码(乌干达必填)
  10. IdNumber string `json:"idNumber,omitempty"` // 证件号码(委内瑞拉必填)
  11. Cci string `json:"cci,omitempty"` // 收款CCI帐号(秘鲁必填)
  12. NotifyUrl string `json:"notifyUrl,omitempty"` // 商户提供的异步回调地址
  13. }
  14. withdraw_resp struct {
  15. Success bool `json:"success" form:"success"` // 0:成功,1:失败
  16. Code string `json:"code" form:"code"` // 错误信息,code为0时,本值为空
  17. Msg string `json:"msg" form:"msg"`
  18. }
  19. )