Skip to main content

Response

smilepayz teamsJuly 2, 2024Less than 1 minute

API header format structure :

AreaFieldAttributeTypeDescription
HeaderContent-TypeMStringapplication/json
X-TIMESTAMPMStringyyyy-MM-ddTHH:mm:ss[zoneOffset] eg: 2020-12-17T10:55:00+07:00

Body Parameters

AreaFieldAttributeTypeDescription
BodycodeMStringsuccess = "00"
messageMStringResponse message
tradeNoOStringsmilepayz trade no
tradeTypeONumberTrade Type
paymentMethodOStringPaymentMethod
moneyOMoneyMoney
statusOStringTransaction Status
remarkOStringremark

Example Body – Inquiry Status Request:

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

{
    "code": "00",
    "message": "Successful",
    "money": {
        "amount": 800,
        "currency": "INR"
    },
    "paymentMethod": "YES",
    "status": "SUCCESS",
    "tradeNo": "122200312406111311517153",
    "tradeType": 2
}
Notice
We have upgraded documentation, if you have any questions, please contact us!