Custom版本 1.0.0

重新提交报关单

PUThttps://pay.globepay.co/api/v1.0/customs/partners/{partner_code}/redeclare/report/{client_report_id}

用于重新提交未报关成功的报关单

字段描述
Accept

application/json

Content-Type

application/json

Path Variable

字段类型描述
partner_codeString

必填,商户编码,由4-6位大写字母或数字构成

client_report_idString

必填,商户申请报关单号,要求同一商户唯一(建议长度8-25位)

Query Params

字段类型描述
timeLong

必填,UTC毫秒时间戳

nonce_strString

必填,随机字符串

signString

必填,签名

Success 200

字段类型描述
report_idString

GlobePay海关单号

client_report_idString

商户申请报关单号

report_statusString

报关单状态: PROCCESSING,SUBMITED,FAILED,SUCCESS

channelString

支付渠道

customString

海关编号

mch_custom_noString

商户在海关备案的编号

mch_custom_nameString

商户海关备案名称

order_idString

GlobePay订单号

transaction_idString

支付渠道订单号

order_currencyString

币种

order_amountDouble

订单金额

report_timeString

报关时间

creation_dateString

报关单创建时间

last_update_dateString

更新时间

error_codeString

错误代码

error_msgString

错误返回的信息描述

错误码

名称描述
ORDER_MISMATCH

订单号与商户不匹配

SYSTEMERROR

系统内部异常

INVALID_SHORT_ID

商户编码不合法或没有对应商户

SIGN_TIMEOUT

签名超时,time字段与服务器时间相差超过5分钟

INVALID_SIGN

签名错误

PARAM_INVALID

参数不符合要求,具体细节可参考return_msg字段

NOT_PERMITTED

未开通网关支付权限

INVALID_CHANNEL

不合法的支付渠道名称,请检查大小写

ERROR

名称描述
return_code

Error Code

return_msg

Error Description

PCI DSS Compliant

安全与合规

  • PCI DSS符合支付卡行业数据安全标准
  • TLS 1.2+API 仅接受 TLS 1.2 / 1.3 加密连接
  • SHA-256每个 API 请求均须附带 SHA-256 签名

京ICP备18003250号-3

本页目录