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