Skip to content

Payin Callback

Callback URL

methodurl
POSTMerchant provided callback URL

Header Information

Header ParameterDescription
timestampRequest timestamp
nonceRandom value
countryMX
appCodeApplication ID

Callback Parameters

ParameterTypeRequiredLengthDescription
merchantOrderNoStringYes32Merchantโ€™s order number
tradeNoStringYesPlatform transaction number
paymentOrderNoStringYes30Unique payment flow ID for this collection on the platform
statusIntYes2: Success
paymentAmountStringYesActual payment amount
serviceAmountStringYesService fee, e.g., 18.02
paymentInfoStringYesMain payment information used for the transaction
paymentTypeIntYesPayment method
completeTimeStringYesCompletion time in local time zone (format: yyyy-MM-dd HH:mm:ss) **
claveRastreoStringYesReserved field (planned for next version)
errorMessageStringNoError message if the transaction failed
signStringYesSignature
callback
{
"merchantOrderNo": "OrderNoExample",
"tradeNo": "TS2501010001MX0000000000000000",
"paymentOrderNo": "TSOPaymentOrderNoExample",
"status": 2,
"paymentAmount": "1000.00",
"serviceAmount": "15.00",
"paymentInfo": "684180093000000000",
"paymentType": 1,
"completeTime": "2025-01-01 00:00:00",
"errorMessage": null,
"sign": "TEEMO_SIGN"
}

errorMsg Explanation:

errorMsg MessageDescription
Transaction amount exceeds limit, kindly retry within allowed range.Requested amount exceeds limit
Channel request error, technicians will fix ASAP.Channel under maintenance
Unstable network, kindly retry later.Channel/network is unstable
Parameter validation error, kindly verify and retry.Invalid request parameters

Callback Response

FieldTypeRequiredDescription
SUCCESSStringYesMust return "SUCCESS", otherwise the callback will be retried
callback
{
SUCCESS
}