Payment Notification

Once Monnet receives a notification from the bank that a transaction has been completed (paid by the shopper), Monnet will notify the Merchant POST URL.

The merchant must provide Monnet with a public URL (HTTPS) page that accepts parameters using HTTP POST standards. This page can be coded in any language but should respond using a standard format.

📦 Request Payload

Monnet will POST the following information to the URL:

FieldDescription
payinStateIDInteger
Payin State ID. Status
payinStateString
Payin Status description. Status
payinStatusErrorCodeInteger
Field reserved for future use. Will not contain data in this notification and should not be evaluated.
payinStatusErrorMessageString
Field reserved for future use. Will not contain data in this notification and should not be evaluated
payinMerchantIDInteger
Merchant Identifier for the Payin API.
payinAmountDecimal
The amount of the transaction. Use 2 decimals.
payinCurrencyString (ISO-4217)
The currency of the transaction
Example
USD, EUR, MXN, etc.
payinMerchantOperationNumberString
Reference number of the sale.
This value is used to notify Merchants about a payment.
payinMethodString
Payment Method
payinVerificationString (Required)
HASH SHA512 of:
payinMerchantID+
payinMerchantOperationNumber+
payinAmount+
payinCurrency+
KeyMonnet
additionalInformationArray (Optional)
Contains supplementary data from the processor, such as additional context or transaction metadata.
errorDetailsObject (Optional)
Contains the homologated error code and description, based on the error returned by the processor.
codeErrorTrxString
Shows a homologated error code if payment confirmation fails.
Error Codes
messageErrorTrxString
Shows the homologated error description if payment confirmation fails
Error Codes

✅ Successful Response – 200

Monnet expects an HTTP 200 response to confirm successful notification delivery.

📤Request Standard Payload

{
  "payinStateID": "5",
  "payinState": "Autorizado",
  "payinStatusErrorMessage": "",
  "payinStatusErrorCode": "00",
  "payinMerchantID": "674",
  "payinAmount": "30.0",
  "payinCurrency": "PEN",
  "payinMerchantOperationNumber": "2-2657443175",
  "payinMethod": "Cash",
  "payinVerification": ""
}

📤Request Complete Payload

{
  "payinStateID": "6",
  "payinState": "Denegado",
  "payinStatusErrorMessage": "",
  "payinStatusErrorCode": "00",
  "payinMerchantID": "722",
  "payinAmount": "200000.0",
  "payinCurrency": "CLP",
  "payinMerchantOperationNumber": "2874601",
  "payinMethod": "TCTD",
  "payinVerification": "",
  "additionalInformation": [],
  "errorDetails": 
   {
    "codeErrorTrx":"9012",
    "messageErrorTrx":"Invalid transaction"
   }
}