Skip to content

Payment Callback

Callback Endpoint

MethodURL
POSTMerchant-provided callback URL

Callback Headers

HeaderDescription
timestampRequest timestamp
nonceRandom value
countryIN
appCodeApplication code

Callback Parameters

FieldTypeRequiredMax LengthDescription
merchantOrderNoStringYes32Merchant order number
tradeNoStringYesPlatform order number
paymentOrderNoStringYes30Platform single-payment transaction number
statusIntYesOrder status: 2 Success
paymentAmountStringYesActual amount paid in this transaction
serviceAmountStringYesService fee (e.g., 18.02)
paymentInfoStringYesPrimary payment information — the actual details used for the payment
paymentTypeIntYesPayment method
completeTimeStringYesCompletion time of this transaction — local timezone, format: yyyy-MM-dd HH:mm:ss
errorMessageStringNoError message if order failed
signStringYesSignature

Callback Example

{
"merchantOrderNo": "OrderNoExample",
"tradeNo": "TS2501010001AR0000000000000000",
"paymentOrderNo": "TSOPaymentOrderNoExample",
"status": 2,
"paymentAmount": "1000.00",
"serviceAmount": "15.00",
"paymentInfo": "K8xY3pQ7zW2dE9sR4fT1gH6jU8lM3nB5vC2xZ7qA9wS4eD1rF8tG3yH6uJ9iK2oL5pM8aN3bV7cX9dZ4...",
"paymentType": 1001,
"completeTime": "2025-01-01 00:00:00",
"errorMessage": null,
"sign": "TEEMO_SIGN"
}

Callback Response

The merchant must respond with the plain text SUCCESS. If this is not returned, the callback will be retried.

ValueTypeRequiredDescription
SUCCESSStringYesMust return "SUCCESS" to stop retry

Response Example

SUCCESS