Update an order
POST
/v1/updateOrders
It allows you to update the transaction information (include status, 3DS verification, etc) of no more than 50 orders at one time, this information is very helpful to optimize risk.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.your-api-server.com/v1/updateOrders' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-raw '{
"merchant_id": "15670",
"account_id": "15670001",
"encryption_data": "7ECECE4B1687DC8E4A6B5B8086AE68CBC567E33D8B5DFDC810DBDE077CB377E4",
"update_orders": [
{
"transaction_id": "1667308950627942400",
"status": "1",
"ispass3d": "1"
},
{
"transaction_id": "1667309703538147328",
"status": "0",
"ispass3d": "1"
}
]
}'
Response Response Example
{
"merchant_id": "15670",
"account_id": "15670001",
"return_message": "OK",
"return_status": "1",
"encryption_data": "7ECECE4B1687DC8E4A6B5B8086AE68CBC567E33D8B5DFDC810DBDE077CB377E4"
}
Request
Header Params
Content-Type
string
required
Example:
application/x-www-form-urlencoded
Body Params application/json