PostCustomsIdentification
Upload the payer identity information which will be re-verified by payment provider, supported payment method: wechatpay
Path parameters
-
merchant string Required
Merchant name to payment company, e.g. wechat.sh_smk
Body
-
orderNo string Required
The internal order number of the merchant system, only numbers, uppercase and lowercase letters, and it is unique under the same merchant number.
-
transactionId string Required
Transaction ID returned by Payment company
-
subOrderNo string
Merchant's sub-order number, must be passed if there is a split order
-
customs string Required
Customs codes
Values are
GUANGZHOU_ZS
,HANGZHOU_ZS
,NINGBO
,ZHENGZHOU_BS
,CHONGQING
,SHANGHAI_ZS
,SHENZHEN
,ZHENGZHOU_ZH_ZS
, orTIANJIN
. Default value isGUANGZHOU_ZS
. -
paymentMethod string
Payment method, must be wechatpay or alipay
Values are
wechatpay
oralipay
. -
mchCustomsNo string
The merchant’s record number registered in the customs
-
certType string Required
Only mainland ID cards are supported temporarily.
Default value is
IDCARD
. -
certId string Required
The user's mainland ID number, the ID number ending in the letter X, please capitalize the letter X.
-
certName string Required
Payer name.
curl \
-X POST https://nomad.samarkand-global.cn/broker/v1/customs/identification/wechat.sh_smk \
-H "app-api-key: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"orderNo":"test2021101901","transactionId":"4200001306202110500000000000.0","subOrderNo":20150806125346,"customs":"GUANGZHOU_ZS","paymentMethod":"wechatpay","mchCustomsNo":"31123452K0","certType":"IDCARD","certId":330821198809085200,"certName":"Zhangsan"}'
{
"orderNo": "test2021101901",
"transactionId": "4200001306202110500000000000.0",
"subOrderNo": 20150806125346,
"customs": "GUANGZHOU_ZS",
"paymentMethod": "wechatpay",
"mchCustomsNo": "31123452K0",
"certType": "IDCARD",
"certId": 330821198809085200,
"certName": "Zhangsan"
}
{
"code": 200,
"message": "success",
"orderNo": "test2021101901",
"transactionId": "4200001306202110500000000000.0",
"subOrderNo": 20150806125346,
"customs": "string",
"mchCustomsNo": "31123452K0",
"certType": "IDCARD",
"certId": 330821198809085200,
"certName": "Zhangsan"
}
{
"code": 200,
"message": "success"
}
{
"code": 200,
"message": "success"
}
{
"code": 200,
"message": "success",
"errors": "Something wrong when making the service."
}