Notification
Less than 1 minute
Tips
API header format structure for disbursement response :
HTTP Method : POST
Area | Field | Attribute | Type | Description |
---|---|---|---|---|
Header | Content-Type | Mandatory | String | 'application/json' |
X-TIMESTAMP | Mandatory | String | Merchant's current local time in yyyy-MM-ddTHH:mm:ssTZD format | |
X-SIGNATURE | Mandatory | String | Non-Repudiation & Integrity checking with algorithm asymmetric signature |
Notes:
X-SIGNATURE
- X-SIGNATURE. SHA256withRSA(smilepayz_private_key, stringToSign). stringToSign = tradeNo + "|" + X-TIMESTAMP ;
API Body format is similar to response.
Notification please return a string
SUCCESS
Body Parameters
Area | Field | Attribute | Type | Description |
---|---|---|---|---|
Body | orderNo | M | String | merchant transaction unique no |
tradeNo | M | String | smilepayz trade no. | |
merchantId | M | String | merchant id | |
merchantName | M | String | merchant name | |
subMerchantId | O | String | sub merchant id | |
subMerchantName | O | String | sub merchant name | |
paymentMethod | M | String | payment method. eg:BCA | |
transactionTime | M | String | yyyy-MM-ddTHH:mm:ss The time zone of the area where the order was created | |
status | M | String | TransactionStatus | |
money | M | Object | Money | |
payer | O | String | Payer |
Warning
Remember — a happy smilepayz is an authenticated smilepayz!