Skip to main content

Notification

smilepayz teamsLess than 1 minute

HTTP Request

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

Tips

  • X-SIGNATURE = SHA256withRSA(smilepayz_private_key, stringToSign)
  • smilepayz_private_key is smilepayz rsa private key
  • stringToSign = tradeNo + "|" + X-TIMESTAMP
  • checkSHA256withRSA refer to signature

Body Parameters

AreaFieldAttributeTypeDescription
BodyorderNoMStringmerchant transaction unique no
tradeNoMStringsmilepayz trade no.
merchantIdMStringmerchant id
merchantNameMStringmerchant name
subMerchantIdOStringsub merchant id
subMerchantNameOStringsub merchant name
paymentMethodMStringpayment method. eg:BCA
transactionTimeMStringyyyy-MM-ddTHH:mm:ss The time zone of the area where the order was created
statusMStringTransactionStatus
moneyMObjectMoney
payerOStringPayer

Return

Important

Notification please return only string SUCCESS


How to callback

Tips

  • In sandbox, after you create sandbox order, click Set Callback to simulate a success callback or failure callback.
  • As for production, only waiting for the actual payment to happen
  • There will be callback only for orders created by API. Because the order created in the merchant platform payment link cannot be linked to the merchant system

An image

{
    "merchantId": "20001",
    "merchantName": "Betty",
    "money": {
        "amount": 100000,
        "currency": "IDR"
    },
    "orderNo": "2000102900000000000001",
    "status": "SUCCESS",
    "tradeNo": "10120019240703085983730",
    "transactionTime": "2024-07-03T08:56:33"
}
SUCCESS
Last update: