Skip to main content

Response

smilepayz teamsLess than 1 minute



Tips

This endpoint retrieves a specific smilepayz.

Response



Tips

API header format structure for inquiry status response :

AreaFieldAttributeTypeDescription
HeaderContent-TypeMandatoryStringString represents indicate the media type of the resource (e.g. application/json, application/pdf)
X-TIMESTAMPMandatoryStringMerchant's current local time in yyyy-MM-ddTHH:mm:ssTZD format

Tips

Example Header – Transaction Request:

Content-type: application/json
X-TIMESTAMP: 2020-12-17T10:55:00+07:00

Body Parameters



AreaFieldAttributeTypeDescription
codeMandatoryStringString Response code success = "00"
messageMandatoryStringString Response message
BodyresponseCodeMandatoryString(32)String Response code. success = "2009200"
responseMessageMandatoryString(64)String Response description
tradeNoOptionalStringString identifier on service consumer system
statusOptionalStringString status: SUCCESS, FAILED... Refer to Data Transaction Status
remarkOptionalStringString remark

Tips

Example Body – Transaction Request:

Content-type: application/json 
X-TIMESTAMP: 2020-12-17T10:55:00+07:00

{
  "code": "00",
  "message": "successful",
  "responseCode": "2009200",
  "responseMessage": "Success, trade request is successful",
  "tradeType": 1,
  "orderNo": "M-2373282627238237",
  "tradeNo": "20231032432400001",
  "status": "SUCCESS",
  "remark": "..."
}

Warning

Remember — a happy smilepayz is an authenticated smilepayz!

Last update: