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
tradeNoStringYes—Platform order number
paymentOrderNoStringYes30Platform single-payment transaction number
statusIntYes—Order status: 2 Success
paymentAmountStringYes—Actual amount paid in this transaction
serviceAmountStringYes—Service fee (e.g., 18.02)
paymentInfoStringYes—Primary payment information — the actual details used for the payment
paymentTypeIntYes—Payment method
completeTimeStringYes—Completion time of this transaction — local timezone, format: yyyy-MM-dd HH:mm:ss
errorMessageStringNo—Error message if order failed
signStringYes—Signature

Callback Example

{
"merchantOrderNo": "OrderNoExample",
"tradeNo": "TS2501010001AR0000000000000000",
"paymentOrderNo": "TSOPaymentOrderNoExample",
"status": 2,
"paymentAmount": "1000.00",
"serviceAmount": "15.00",
"paymentInfo": "PaymentInfoExample",
"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