Response
Less than 1 minute
Tips
This endpoint retrieves a specific smilepayz.
Response
Tips
API header format structure for transaction 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: 2023-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= "2009000". difference between it and code is that it will be more detailed |
responseMessage | Mandatory | String(64) | String Response description | |
orderNo | Mandatory | String | String Transaction identifier on service provider system. Must be filled upon successful transaction | |
tradeNo | Optional | String | String Transaction identifier on service consumer system | |
status | Optional | String | String Disbursement status: SUCCESS, FAILED... Refer to Data TransactionStatus | |
merchant | Mandatory | Merchant | Json String Net amount of the transaction. Refer to Data Merchant | |
transactionTime | Mandatory | Merchant | String Transaction time | |
money | Mandatory | Money | Json String Net amount of the transaction. Refer to Data Money | |
channel | Mandatory | PayChannel | Json String Transaction initiator. Refer to Data PayChannel |
Tips
Example Body – Transaction Request:
Content-type: application/json
X-TIMESTAMP: 2023-12-17T10:55:00+07:00
{
"code": "00",
"message": "successful",
"responseCode": "2009000",
"responseMessage": "Success, trade request is successful",
"orderNo": "202010290000001",
"tradeNo": "20231032432400001",
"status": "PROCESSING",
"transactionTime": "2020-12-17T10:55:00+07:00",
"merchant":{
"merchantId": "10002",
"merchantName": "Betty",
"accountNo": "2033924234782342"
},
"money": {
"currency": "IDR",
"amount": 10000
},
"channel": {
"additionalInfo": {
"paymentUrl": "https://sandbox-gateway.smilepayz.com"
},
"paymentMethod": "016",
"vaNumber": "78120011629261665",
"receiverBankName": "KBANK",
"qrString": "00020101021226793048BB1...",
"paymentUrl": "https://sandbox-gateway.smilepayz.com"
}
}