Response
Less than 1 minute
Tips
This endpoint retrieves a specific smilepayz.
Response
Tips
API header format structure for inquiry status response :
Area | Field | Attribute | Type | Description |
---|---|---|---|---|
Header | Content-Type | Mandatory | String | String represents indicate the media type of the resource (e.g. application/json, application/pdf) |
X-TIMESTAMP | Mandatory | String | Merchant'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
Area | Field | Attribute | Type | Description |
---|---|---|---|---|
code | Mandatory | String | String Response code success = "00" | |
message | Mandatory | String | String Response message | |
Body | responseCode | Mandatory | String(32) | String Response code. success = "2009200" |
responseMessage | Mandatory | String(64) | String Response description | |
tradeNo | Optional | String | String identifier on service consumer system | |
status | Optional | String | String status: SUCCESS, FAILED... Refer to Data Transaction Status | |
remark | Optional | String | String 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!