Webhook

Cancellation notice

Fintwin calls noticeCancel after the mandate has been cancelled at the bank.

The enterprise must build this endpoint. Fintwin is the caller. The portal describes the contract only and has no Try.

When it fires

After a successful cancellation.

Endpoint requirements

Accept HTTPS POST with Authorization and a signature. Verify the signature and return JSON. A repeated event must not create a duplicate record.

Body Fintwin sends

FieldsDescription
com_cdRequiredEnterprise code.
bank_cdRequiredBank code.
contractIdRequiredContract id.
sourceIdRequiredMandate token.
sourceNumberOptionalAccount number.
expiryDateOptionalExpiry date.
sourceNameOptionalAccount name.
requestTypeOptionalNotice type.

Body the enterprise returns

FieldsDescription
errorCodeRequired0000 when stored.
errorDescRequiredDescription.
Request example
{
  "com_cd": "TEST0001",
  "bank_cd": "970422",
  "contractId": "HD-TEST-001",
  "sourceId": "SRC-TEST-001"
}
Response example
{
  "errorCode": "0000",
  "errorDesc": "Success"
}