SuspendAccountForNumberOfPaymentCycles

Usage


Allows a customer’s payments to be suspended for a number of payment cycles after a given date.

Parameters

Name

Data Type

Length


Description

User





  • Username

String


Required

Provided by Debitsuccess

  • Password

String


Required

Provided by Debitsuccess

RequestInitiator

String

100

Optional

Optional – allows requesting user to be logged

AccountReferenceNo

String

15

Optional*

Debitsuccess account reference

ExternalAccountReferenceNo

String

50

Optional*

External account reference

MinimumEffectiveDate

DateTime


Required

The date after which (on the next payment cycle) that the suspension will start

NumberOfPaymentCycles

Integer


Required

The number of payment cycles to suspend payments for

SuspensionFee

Decimal (10, 2)


Required

Amount to charge for the suspension

SuspensionFeeFrequency

Enum


Required if suspension fee > 0

How often the fee should be charged during the suspension.

OneOff, Weekly, Fortnightly, FourWeekly, Monthly, BiMonthly, Quarterly

StopDirectDebits

Boolean


Optional

If set to True the DD Stop flag will be enabled which will stop any direct debits being made on the account.


This will default to False if left blank.

StopOverdueMail

Boolean


Optional

If set to True a setting will be enabled at the time of suspension to stop any overdue mail being sent to the account holder (if not already).


Validation will check if the account is overdue prior to the suspension and if so overdue mail will not be stopped.


This will default to False if left blank.

* At least one of the following parameters must be supplied: AccountReferenceNo, ExternalAccountReferenceNo

Response 

Name

Data Type

Description

DateCreated

DateTime

Date/time message was processed

Id

String

Unique ID for the message

ResponseNotes ()


Collection of validation messages

  • ResponseMessageNote()


      Code

String


      Note

String


      NoteType

Enum

Error, Warning, Info

Status

Enum

Failed, Succeed, Unknown

ScheduleIdString
SuspensionEndDateDateTimeThe date on which the suspension shall end.
SuspensionStartDateDateTimeThe date on which the suspension shall start.


Error Messages

TypeError CodeError Message
Error13009Invalid MinimumEffectiveDate.The date must be in the future.
Error13095Frequency must not be NotSpecified when fee is not 0.00
Error13094Frequency must be NotSpecified or OneOff when fee is 0.00
Error13096Fee must not be smaller than 0.00
Error13097Number of payment cycles must be at least
Warning14020DateTime field '{0}' contains time part, but the time is ignored by message.
Warning14021Decimal field '{0}' contains more than 2 decimal points that were ignored by message.
Error02Invalid user credentials
Error12016Missing required reference number. Must provide either ExternalAccountReferenceNo or AccountReferenceNo or both.
Error08There is no record found with this criteria
Error10Account is not active
Error07Multiple accounts found with this criteria
Error14100Suspension Start Date cannot be prior to the Account Start Date.
Error13092No payment schedule found for suspension period
Error13091New suspension ('{0}' - '{1}') overlaps with an existing suspension ('{2}' - '{3}')
Warning14011Suspension end date '{0}' is after the payment schedule finish date '{1}'.
Info00Success

Related Pages

On this page:




© 2021 Debitsuccess. All rights reserved