Commits a previously reserved transaction that was made using the setSale
API. This will finalize the transaction and make it official, based on the provided transaction details.
Commits a previously reserved transaction that was made using the setSale
API. This will finalize the transaction and make it official, based on the provided transaction details.
Unique Message ID generated by 3rd party system. Format [AAAYYYYMMDDHH24MISSCCCC]
Fixed value for each channel (e.g., "047" for UMREX)
curl -i -X POST \
https://enterprise-iot-portal.u.com.my/_mock/eload/commitsale/api/rest \
-H 'Content-Type: application/json' \
-d '{
"access_token": "abc123xyz456",
"method": "commitSale",
"version": "1.0.0",
"content": {
"msgId": "0472023040112305999",
"channel": "047",
"extOrderNbr": "CRMORDER001"
}
}'
{ "res_code": "00000", "res_message": "Operation success", "result": { "resultCode": "DBEP0000", "resultMsg": "Success", "transactions": [ … ] } }