Payment webhook Reimburserd by bank

This event is derived from a Payment Cancelled event. It states, that the money that earlier where transferred asa payment, now has been transferred back to the sending party.

POST Json payload

{
    "Type": "Payment",
    "Event": "ReimbursedByBank",
    "InvoiceNumber": "234-cvcv-445673",
    "CustomerNumber": "123123123123",
    "PaymentDueDate": "yyyy-mm-dd",
    "Currency": "DKK", // Currency
    "InvoiceAmount": "750.9900", // Original amount
    "Amount": "750.9900", // Reimbursed amount
    "PaymentType": "BS",  // BS, LS, DanKort, Visa, MasterCard, MobilePaySubscriptions
    "PaymentReference": "",
    "AgreementId": "12345"
}

Dictionary

NameTypeDescription
TypestringAlways "Payment"
EventstringAlways "ReimbursedByBank"
InvoiceNumberstringThe invoice number [a-zA-Z0-9](15)
CustomerNumberstringThe customer number [a-zA-Z0-9](15)
CurrencystringThe currency of the payment, "DKK", "EUR"
InvoiceAmountdecimalThe original amount of the invoice
AmountdecimalThe amount of the reimbursement.
PaymentTypestringThe payment type, "BS", "LS", "DanKort", "Visa", "MasterCard", "MobilePaySubscriptions"
PaymentReferencestringThe payment reference, if any
AgreementIdstringThe agreement id, if any

Valid events for ReimbursedByBank

The direct-debit payment options have similar behaviour, as they can handle a cancellation before or after thetransaction has been executed.

Paymnet TypeEventTransCodesDescription
BSReimbursedByBank239Bank initiated, where money are transferred from the merchant, back to the debtor.
BSRejected237No amount is available, the payment has been cancelled prior to the money transfer.
BSReimbursedByBank237 w. amountAmount is implicated, and transferred from the merchant, back to the debtor.
LSReimbursed555Bank initiated, where money are transferred from the merchant, back to the debtor.
LSRejected530 w. amountCustomer initiated - Amount is implicated, and transferred from the merchant, back to the debtor.