[PostFinance] An example of a webhook notification («Direct HTTP server-to-server request») about a payment cancelled by the customer

You will get a cancellation notification then a customer press the «Cancel» button instead of the «Yes, I confirm my payment» button on the PostFinance payment page:

Note that a notification about a payment cancelled by the customer has "STATUS": "1".

{
    "AAVCheck": "",
    "ACCEPTANCE": "",
    "amount": "1395.34",
    "BRAND": "",
    "CARDNO": "",
    "CCCTY": "",
    "CN": "Dmitry Fedyuk",
    "currency": "CHF",
    "CVCCheck": "",
    "ECI": "",
    "ED": "",
    "IP": "92.243.166.8",
    "IPCTY": "RU",
    "NCERROR": "",
    "orderID": "ORD-2017/08-01053",
    "PAYID": "3024015769",
    "PAYIDSUB": "0",
    "PM": "CreditCard",
    "SHASIGN": "A16C81852ABEB42203C228A5EC2F6B23D8462AFF",
    "STATUS": "1",
    "TRXDATE": "08/23/17",
    "VC": ""
}

See also: