cURL
curl --request POST \ --url https://apidev.nusd.me/nps/ticket/tx \ --header 'BIZ-API-KEY: <api-key>' \ --header 'Biz-Api-Nonce: <api-key>' \ --header 'Biz-Api-Signature: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "transaction_id": "8da460a3-75f8-489d-a099-802c38a702b3" } '
{ "status": 0, "data": { "transaction_id": "8da460a3-75f8-489d-a099-802c38a702b3", "ticket_id": "3792b891-2066-41d6-be30-051b917cdd75" }, "msg": "<string>" }
添加异常交易工单
API Key,请求需在请求头中携带。
时间戳,请求需在请求头中携带。
签名串,请求需在请求头中携带。
交易id
"8da460a3-75f8-489d-a099-802c38a702b3"
异常或不匹配的字段,多个用逗号分隔,如 amount,fee,status
"amount,status"
异常说明
"amount and status not match"
请求成功,返回工单id
状态码,0 表示成功。
0
工单创建结果
Show child attributes
错误消息,status 非 0 时存在