Skip to main content

Input fields

accountNumber : String! required

The account number the schedule will be created on.

collectionMethod : ScheduleCollectionMethod! required

How payments are collected for this schedule. Use KRAKEN_INITIATED when the schedule uses a selected payment method and Kraken collects payment; use CUSTOMER_INITIATED when there is no selected payment method and the customer arranges payment themselves.

ledgerNumber : String! required

The number of the ledger to create the schedule on.

paymentAmount : Int

The fixed payment amount in the smallest currency unit. Required for schedules with a fixed payment amount; must not be provided for schedules with a variable amount (e.g. billed amount).

paymentDay : Int

The day on which payment is collected.

paymentFrequency : PaymentScheduleFrequency! required

The frequency at which payments are collected.

paymentFrequencyMultiplier : Int default: 1

The frequency multiplier, e.g. 2 with WEEKLY frequency gives bi-weekly. Defaults to 1.

paymentMethodId : ID

The ID of the payment instruction to use for collection. Required when collection_method is KRAKEN_INITIATED.

trigger : ScheduleTrigger! required

When a payment is due.

validFrom : Date! required

The date from which the new schedule is valid.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "accountNumber": "A-CDEE663F", "collectionMethod": "KRAKEN_INITIATED", "ledgerNumber": "identify-gas-suggest-government-travel", "paymentAmount": 85, "paymentDay": 71, "paymentFrequency": "WEEKLY", "paymentFrequencyMultiplier": 78, "paymentMethodId": "10766266", "trigger": "PLAN", "validFrom": "1991-10-24" }