Skip to content

Create Debtor Paymentplan ​

Creates a new payment plan

PUT /v1/Debtors/{debtorGuid}/Paymentplans

Use the Test or Production base URL configured under Overview.

Request parameters ​

FieldLocationMandatoryDescription
debtorGuidpathYesstring

Headers and authentication ​

Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.

Request body fields ​

Field pathMandatoryDescription
activeNointeger <int32> or null
Type of payment plan 1 = Active 2 = Proposal (default)
paymentPlanTypeYesinteger <int32>
Type of payment plan 1 = Annuity 2 = Annuity, limited 3 = Linear 4 = Linear, limited 5 = Debt relief
numberOfPaymentsNointeger <int32> or null
Total number of payments
amountNonumber <double> or null
Amount to pay per period (typically monthly)
currencyCodeNostring or null
Currency code, e.g. SEK, NOK, EUR etc.
registrationFeeNonumber <double> or null
Registration fee for the plan
invoiceFeeNonumber <double> or null
Invoice fee for each payment in the plan
reminderFeeNonumber <double> or null
Reminder fee for late payment
feeCurrencyCodeNostring or null
Currency code, e.g. SEK, NOK, EUR, etc. for the fees
paymentsNoarray of object or null
Deviating payments/instalments in the payment plan
payments[].paymentNoYesinteger <int32>
Payment order number
payments[].specifiedDueDateNostring <date-time> or null
Last payment date
payments[].specifiedAmountNonumber <double> or null
Total amount to pay
casesNoarray of string or null
Cases (Guid) that should be covered by the payment plan. If not given, all active cases without an active payment plan will be selected
cases[]Yesstring
—

Response fields ​

HTTP 201
Field pathMandatoryDescription
paymentPlanGuidNostring or null
Payment plan unique identifier.
registrationDateYesstring <date-time>
Registration date
activeYesinteger <int32>
Type of payment plan 0 = Inactive 1 = Active 2 = Proposal
paymentPlanTypeYesinteger <int32>
Type of payment plan 1 = Annuity 2 = Annuity, limited 3 = Linear 4 = Linear, limited 5 = Debt relief
numberOfPaymentsYesinteger <int32>
Total number of payments
remainingNumberOfPaymentsYesinteger <int32>
Remaining number of payments
currencyCodeNostring or null
Currency code, e.g. SEK, NOK, EUR etc.
registrationFeeYesnumber <double>
Registration fee for the plan
invoiceFeeYesnumber <double>
Invoice fee for each payment in the plan
reminderFeeYesnumber <double>
Reminder fee for late payment
feeCurrencyCodeNostring or null
Currency code, e.g. SEK, NOK, EUR, etc. for the fees
totalAmountYesnumber <double>
Total amount to pay for the whole plan
totalPrincipalYesnumber <double>
Total principal amount to pay for the whole plan
totalInterestYesnumber <double>
Total interest amount to pay for the whole plan
totalFeeYesnumber <double>
Total fee amount to pay for the whole plan
annualPercentageNonumber <double> or null
Annual percentage calculated for the whole plan
paymentsNoarray of object or null
All payments/instalments for the payment plan
payments[].paymentNoYesinteger <int32>
Payment order number
payments[].invoiceDateYesstring <date-time>
Date when to send the invoice
payments[].dueDateYesstring <date-time>
Last payment date
payments[].instalmentYesnumber <double>
Instalment part of the payment
payments[].interestYesnumber <double>
Interest part of the payment
payments[].feeYesnumber <double>
Fee part of the payment
payments[].amountYesnumber <double>
Total amount to pay
payments[].unpaidYesnumber <double>
Amount still unpaid for this payment
payments[].paidDateNostring <date-time> or null
Date when this invoice was paid
casesNoarray of object or null
All cases covered by the payment plan
cases[].caseGuidNostring or null
Case unique identifier.
cases[].caseNumberNostring or null
Case number
cases[].clientReferenceNostring or null
Client reference number
cases[].clientGuidNostring or null
Client unique identifier
periodsNoarray of object or null
Periods with different terms in the payment plan
periods[].periodNoYesinteger <int32>
Payment plan unique identifier.
periods[].startDateYesstring <date-time>
Start date
periods[].endDateNostring <date-time> or null
End date
periods[].intervalTypeYesinteger <int32>
Type of interval 0 = Unknown 1 = Day in month (interval is day in month) 2 = Last day in month (interval is offset from last day) 3 = Monthly 4 = Days 5 = One time
periods[].intervalYesinteger <int32>
Interval or day offset depending on IntervalType
periods[].amountYesnumber <double>
Amount per period. Might differ between periods.
periods[].paymentTypeYesinteger <int32>
Type of payment 1 = Ordinary payment 2 = Direct debit 3 = Netting 4 = Enforced netting
HTTP 400
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 401
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 403
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 408
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null