Once Monnet receives a notification from the bank that a transaction has been completed (payment approved, denied or expired), 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
Monnet will POST the following information to the URL:
Field | Description |
---|---|
payinStateID | String Payin State ID. (number value)Status |
payinState | String Payin Status description. Status |
payinStatusErrorCode | String If there is an error, this will return Payin Status Error Code. (number value) Error Codes |
payinStatusErrorMessage | String If there is an error, this will return Payin Status Error description. Error Codes |
payinMerchantID | String Merchant Identifier for the Payin API. |
payinAmount | String The amount of the transaction. Uses 1 decimal. (decimal value) |
payinCurrency | String (ISO-4217) The currency of the transaction Example USD, EUR, MXN, etc. |
payinMerchantOperationNumber | String Reference number of the sale. This value is used to notify Merchants about a payment. |
payinMethod | String Payment Method. This value is the same that the merchant sent into the request. |
payinVerification | String (Required) HASH SHA512 of: payinMerchantID+ payinMerchantOperationNumber+ payinAmount+ (using 1 decimal) payinCurrency+ KeyMonnet |
Optional (Only for Chile)
Field | Description |
---|---|
LastFourDigits | Integer (Required) LastFourDigits of the payment Card |
CardType | String (Required) Type of the payment Card |
Response
Monnet expects a 200 no error as a response to confirm the notification delivery.