Commit Reserved Transaction (1.0.0)

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.

Download OpenAPI description
Languages
Servers
Mock server
https://enterprise-iot-portal.u.com.my/_mock/eload/commitsale/

commitSale

Request

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.

Bodyapplication/jsonrequired
access_tokenstring<= 500 charactersrequired

API Gateway access token

Example: "abc123xyz456"
methodstring<= 64 charactersrequired

API name

Example: "commitSale"
versionstring<= 10 charactersrequired

API version

Example: "1.0.0"
contentobjectrequired
content.​msgIdstring<= 30 charactersrequired

Unique Message ID generated by 3rd party system. Format [AAAYYYYMMDDHH24MISSCCCC]

Example: "0472023040112305999"
content.​channelstring<= 20 charactersrequired

Fixed value for each channel (e.g., "047" for UMREX)

Example: "047"
content.​extOrderNbrstringrequired

CRM order number that was submitted during the setSale API

Example: "CRMORDER001"
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"
    }
  }'

Responses

Commit successful

Bodyapplication/json
res_codestring<= 10 characters

Response code

Example: "00000"
res_messagestring<= 255 characters

Response message

Example: "Operation success"
resultobject

PIN change result

Response
application/json
{ "res_code": "00000", "res_message": "Operation success", "result": { "resultCode": "DBEP0000", "resultMsg": "Success", "transactions": [] } }