# Open API Code 提示码列表

  • 通用Open API 通用提示码(当次交易实时返回)

  • 响应示例

{
    "code":1002,
    "message":"merchant white ip forbidden",
}
错误Code 错误提示语
1001 merchant appid is invalid
1002 merchant white ip forbidden
1003 request sign is invalid
1004 merchant unavailable
1005 merchant institute unavailable
1006 merchant balance insufficient
1007 transaction exceed limit
1008 transaction not found
1009 request params invalid(参数不合规,请参考具体返回的错误提示信息)
1010 request bank name invalid
1011 merchant channel is unavailable
1012 merchant order id is repeat
1013 merchant access frequency limit
1014 merchant payout idempoteny repeat
1015 request email invalid
1016 request ewallet name invalid
1017 the static virtual account exist
1018 network failed, please retry
1019 the bank transfer account exist
1020 dynamic qrcode amount is null
# Open API 退款通用错误码列表
错误Code 错误提示语
1501 The original transaction Id not exist
1502 Refund is processing
1503 System error, please contract Paycools
1504 AppId is not match
1505 Refund is not allow
1506 The refund amount is greater than the amount that can be refunded
1507 The original transaction channel does not support refunds
1508 The original transaction channel only allows one refund to be initiated
1509 Transactions 60 days ago cannot initiate refunds
1510 The original transaction channel not support refund
1511 The original transaction channel not support partial refund
1512 The full refund transaction amount must be the same as the original transaction
1513 Refund amount invalid
1515 Merchant refund order id is repeat
1516 The original transaction is not completed
# Open API 交易Failed Code 错误码列表
  • 用于交易查询或者回调结果

  • 响应示例

{
	"amount":5735,
	"createTime":"2022-01-10 17:55:45",
	"eventName":"disbursement.failed",
	"failedCode":-10001,
	"failedMessage":"Transaction Exceed Limit",
	"mchOrderId":"CCP16418085446081",
	"remark":"cash credit",
	"returnTime":"2022-01-10 18:33:37",
	"sign":"5a9dd499ddf1c2a4dcf054aceafe409b45f37ca6",
	"transactionId":"d149b0a575e5344740b2d9698babcede1f68",
	"transactionStatus":"FAILED"
}
错误failedCode 错误提示语
-10000 Transaction Service Error
-10001 Transaction Exceed Limit
-10002 Transaction Params Error
-10003 Transaction Insufficient Balance
-10004 Transaction Channel Rejected
-10005 Transaction Destination Account Error
-10006 Transaction Network Reject
-10007 Transaction Channel Temporarily Close
-10008 Merchant Unavailable Error
-10009 Recipient Account Blocked
-10010 Channel Refund Failed
# Open API 交易状态枚举列表
  • 同用于代收和代付
transactionStatus 交易状态 说明
PENDING 交易中
COMPLETE 交易完成
FAILED 交易失败