ADDACS E - Instruction Amended

Reason

Instruction Amended

Actions

Please see the settings in the custom profile for actions.
Please see the Webhook Subscription for which Webhooks will be sent out for the customised actions.

Object Action Webhook Subscription Criteria
Mandate The status remains as previously set. “DDMS Service” “Edit” on the Mandate object.
Bank Account The Bank Account details are updated and the record remains enabled. “DDMS Service” “Edit” on Bank Account object.


System Webhooks

Mandate

V1

Mandate Webhook - Structure

The fields that have been updated for this webhook are:

Field Sample Value
bacs_reason_code ADDACSE
bacs_description instruction amended
bacs_reference XYZ0012345-0012345
bacs_filename Addacs020419111111.xml
{
 "events":
 [
  {
    "id" : {EVENTID},  
    "created_at" : {CREATEDDATE}, 
    "resource_type": {RESOURCETYPE},  
    "event_source" : {EVENTSOURCE},
    "customer_account" : {CUSTOMERACCOUNT},  
    "AUDDIS" : {AUDDIS},  
    "status" : {STATUS},  
    "description" : {DESCRIPTION},  
    "bacs_reason_code" : {BACSCODE},  
    "bacs_description" : {BACSDESCRIPTION},
    "bacs_reference" : {BACSREFERENCE},
    "bacs_filename" : {BACSFILENAME},
    "reference": {REFERENCE}
  }
 ]
}


V2

Mandate Event - Structure

The fields that have been updated for this webhook are:

Field Sample Value
event_type “mandate.update”
event_source “DDMS service”
bacs_reason_code “ADDACSE”
bacs_description “instruction amended”
bacs_reference “XYZ0012345-0012345”
bacs_filename “Addacs020419111111”
{
    "id":{VALUE},
    "idempotency_key":{VALUE},
    "sent_at":{VALUE},
    "client":
	{ 
	    "id":{VALUE} 
	},
    "events":[
        {
            "id":{VALUE},
            "event_id":{VALUE},
            "reference":{VALUE},
            "created_at":{VALUE},
            "edited_at":{VALUE},
            "status":{VALUE},         
            "i_am_the_only_account_holder":{VALUE},         
            "bacs_reason_code":{VALUE},
            "bacs_description":{VALUE},
            "event_type":{VALUE},
            "event_source":{VALUE},
            "bacs_reference":{VALUE},
            "bacs_filename":{VALUE},
            "metadata":{VALUE},
            "created_by":{
                "id":{VALUE}
            },
            "edited_by":{
                "id":{VALUE}
            },  
            "customer_account":{
                "id":{VALUE},
                "legacy_id":{VALUE}
            },
            "bank_account":{
                "id":{VALUE},
                "legacy_id":{VALUE},
                "account_name":{VALUE},
                "account_number":{VALUE},
                "sort_code":{VALUE},
                "bank_name":{VALUE}
            },         
            "originating_bank_account":{
                "id":{VALUE},
                "legacy_id":{VALUE}
                "account_name":{VALUE},
                "account_number":{VALUE},
                "sort_code":{VALUE}
            },
            "service_user_number":{
                "id":{VALUE},
                "sun_name":{VALUE},
                "sun_number":{VALUE},
            },
            "client":{
                "id":{VALUE}
            },
            "account_validation": [
                {
                    "id": {VALUE},
                    "account_name_match": {VALUE},
                    "validation_performed": {VALUE},
                    "validation_link": {VALUE},
                    "created_at": {VALUE},
                    "edited_at": {VALUE}
                }
            ]       
        }
    ]
}

Note: Property display order for documentation purposes, actual order may vary.

Bank Account

V1

Bank Account Webhook - Structure

The fields that have been updated for this webhook are:

Field Sample Value
description SMP Service - Bank Account updated
bacs_reason_code ADDACSE
bacs_description instruction amended
bacs_reference XYZ0012345-0012345
bacs_filename Addacs020419111111
{
 "events":
 [
  {
    "id" : {EVENTID},  
    "bank_account" : {BANKACCOUNT},  
    "created_at" : {CREATEDDATE}, 
    "resource_type": {BANKACCOUNT},
    "description" : {DESCRIPTION},  
    "event_source": {EVENTSOURCE},
    "account_number" : {ACCOUNTNUMBER},  
    "sort_code" : {SORTCODE},  
    "account_name" : {ACCOUNTNAME},  
    "currency" : {CURRENCY},  
    "enabled" : {ENABLED},  
    "bank_name" : {BANKNAME},  
    "customer_account" : {CUSTOMERACCOUNT},  
    "bacs_reason_code" : {BACSCODE},  
    "bacs_description" : {BACSDESCRIPTION},  
    "bacs_reference" : {BACSREFERENCE},  
    "bacs_filename" : {BACSFILENAME},  
    "custom_reference" : {CUSTOMREFERENCE}
  }
 ]
}

V2

Bank Account Event - Structure

The fields that have been updated for this webhook are:

Field Sample Value
event_type “bank_account.update”
event_source “DDMS service”
bacs_reason_code “ADDACSE”
bacs_description “instruction amended”
bacs_reference “XYZ0012345-0012345”
bacs_filename “Addacs020419111111”
{
   "client":{ 
      "id":{VALUE} 
   },
   "id":{VALUE},
   "idempotency_key":{VALUE},
   "sent_at":{VALUE},
   "events":[
      {
	 "account_name":{VALUE},
         "account_number":{VALUE},
	 "bacs_description":{VALUE},
	 "bacs_reason_code":{VALUE},         
         "bacs_reference":{VALUE},
         "bacs_filename":{VALUE},
	 "bank_name":{VALUE}, 
         "client":{
            "id":{VALUE}
         },        
         "created_at":{VALUE},
         "created_by":{
            "id":{VALUE}
         },
	 "custom_reference":{VALUE},   
         "customer_account":{
            "id":{VALUE},
            "legacy_id":{VALUE}
         },
         "edited_at":{VALUE},
	 "edited_by":{
            "id":{VALUE}
         },
         "enabled":{VALUE},
	 "event_source":{VALUE},
         "event_type":{VALUE},
         "id":{VALUE},
         "event_id":{VALUE},
         "legacy_id":{VALUE},
         "currency_code":{VALUE},
         "sort_code":{VALUE},
         "metadata":{VALUE},
         "debits_allowed":{VALUE},
         "credits_allowed":{VALUE},
         "Modulus_Check":{
            "AccountNumber":{VALUE},
            "AccountCodeOK":{VALUE},
            "BankName":{VALUE},
            "BranchAddress1":{VALUE},
            "BranchAddress2":{VALUE},
            "BranchAddress3":{VALUE},
            "BranchAddress4":{VALUE},
	    "BranchAddressTown":{VALUE},
            "BranchAddressPostCode":{VALUE},
	    "BranchTitle":{VALUE},
	    "CreditsAllowedOK":{VALUE}
            "DirectDebitsOK":{VALUE},
            "DirectDebitInstructionOK":{VALUE},
	    "SortCode":{VALUE},
            "SortCodeOK":{VALUE},
            "TelephoneNumber":{VALUE},
         }
      }
   ]
}

Note: Property display order for documentation purposes, actual order may vary.