Get Available Campaigns
GetPaymentPlanParamsEu
This method retrieves information about all the campaigns that are associated with the current ClientId. Use this information to display details about the possible payment plan options to customers. The returned CampaignCode is used when creating a payment plan.
Input
GetPaymentPlanParamsEuRequest
| Field | R | Type | Description |
|---|---|---|---|
| Amount | - | Decimal | (Optional) If specified, calculates and includes EffectiveInterest for each returned campaign. |
Output
GetPaymentPlanParamsEuResponse
| Field | U | R | Type | Description |
|---|---|---|---|---|
| CampaignCodes | * | - | Array of CampaignCodeInfo | |
| ResultCode | * | - | Integer | See Result Code table |
Structures
CampaignCodeInfo
| Field | U | R | Type | Description |
|---|---|---|---|---|
| CampaignCode | * | - | Long | Unique id for this campaign. |
| Description | - | - | String | Short description of the campaign. |
| PaymentPlanType | - | - | PaymentPlanTypeCode | Enumeration defining what kind of campaign it is. |
| ContractLengthInMonths | - | - | Integer | Total length of campaign. |
| MonthlyAnnuityFactor | - | - | Decimal | How much of the total sum is to be paid each payment. |
| InitialFee | - | - | Decimal | Starting fee. |
| NotificationFee | - | - | Decimal | Recurring fee for each payment. |
| InterestRatePercent | - | - | Decimal | Payment plan interest. |
| NumberOfInterestFreeMonths | - | - | Integer | Number of months before interest is added onto the payment plan. |
| NumberOfPaymentFreeMonths | - | - | Integer | Number of months before the first payment. |
| FromAmount | - | - | Decimal | Lowest amount the campaign is valid for. |
| ToAmount | - | - | Decimal | Highest amount the campaign is valid for. |
| EffectiveInterest | - | - | Decimal | (Optional) Effective interest rate, calculated only if Amount was provided in the request |
Enumerations
PaymentPlanTypeCode
| Value | Description |
|---|---|
| Standard | A standard payment plan. |
| InterestFree | An interest free payment plan. |
| InterestAndAmortizationFree | A payment plan where there is an initial payment and an interest free period. |
GetAccountCreditParamsEu
This method retrieves parameters related to account credit campaigns for the current client. It provides the available account credit campaign codes along with associated details to help determine account credit options.
Input
GetAccountCreditParamsEuRequest
| Field | R | Type | Description |
|---|---|---|---|
| Empty | - | N/A | Intentionally left empty. |
Output
GetAccountCreditParamsEuResponse
| Field | R | Type | Description |
|---|---|---|---|
| AccountCreditCampaignCodes | - | Array of AccountCreditCampaignCodeInfo | |
| ResultCode | - | Integer | See Result Code table |
Structures
AccountCreditCampaignCodeInfo
| Field | U | R | Type | Description |
|---|---|---|---|---|
| CampaignCode | * | - | Long | Unique id for this campaign. |
| Description | - | - | String | Short description of the campaign. |
| InitialFee | - | - | Decimal | Fee for placing account credit order. |
| LowestAmountToPayPerMonth | - | - | Decimal | Minimum amount invoiced for this account credit campaign code. |
| LowestPercentToPayPerMonth | - | - | Decimal | Minimum percent invoiced for this account credit campaign code. |
| LowestOrderAmount | - | - | Decimal | Lowest order amount to enable an account credit order to be placed. |
| InterestRatePercent | - | - | Decimal | Interest rate in percent. |
| NotificationFee | - | - | Decimal | Recurring fee for each payment. |
Notes
- Note 1: For any given order, the hypothetical minimum amount to pay per month that should be presented to the customer is the larger of either LowestAmountToPayPerMonth or LowestPercentToPayPerMonth multiplied by the order total, provided that the order total also equals or exceeds LowestOrderAmount.
- Note 2: The total account credit amount that will be invoiced each month is based not on a single order but on the total outstanding account credit for this customer and client (see BasicRequest). That is, the invoiced amount will be based on the sum of all outstanding account credit purchases for this customer and client.
Displaying Required Campaign Information
Why Is This Required?
Under the Swedish Consumer Credit Act (Konsumentkreditlagen), businesses offering credit must clearly present credit terms to the consumer before the purchase is completed. Svea Checkout handles this automatically, but as a merchant using our standalone integration you are responsible for presenting this information in your own checkout.
What Must Be Displayed
There are four required sections:
- Campaign details — Dynamic values from the API and calculations.
- Konsumentverket credit warning — Static text.
- Consequences if the instalment plan is not followed — Semi-static text.
- Legal consent text — Static text with links.
1. Campaign Details
When the customer selects an instalment plan, display the following details for the chosen campaign:
- Setup fee
- Administration fee
- Annual interest rate
- APR (Effective Interest)
- Total cost
Use GetPaymentPlanParamsEu (instalment plans) or GetAccountCreditParamsEu (account credit) with the Amount parameter to retrieve campaign data. Refer to the GetPaymentPlanParamsEuResponse and GetAccountCreditParamsEuResponse sections for the full list of returned fields.
Dynamic Calculations
The campaign API returns campaign terms such as campaign code, description, contract length, fees, interest rate, effective interest, and amount intervals. These fields can be displayed directly from the response.
Some displayed amounts, however, are purchase-specific and must be calculated dynamically using the current cart total together with the returned campaign terms.
For a typical instalment plan presentation, use the following formulas:
Value Calculation Monthly base amount purchase amount × MonthlyAnnuityFactorFirst-month amount monthly base amount + NotificationFee + InitialFeeRecurring monthly amount monthly base amount + NotificationFeeTotal cost InitialFee + (recurring monthly amount × ContractLengthInMonths)Average monthly amount total cost ÷ ContractLengthInMonthsFields taken directly from the API response should not be recalculated — display them as returned, applying only any necessary formatting. Calculated example amounts should always be based on the current purchase amount and may be rounded for display purposes.
2. Konsumentverket Credit Warning
The following statutory warning must be displayed alongside the credit offer, including a warning symbol and a link to Konsumentverket:
⚠️ Att låna kostar pengar! Om du inte kan betala tillbaka skulden i tid riskerar du en betalningsanmärkning. Det kan leda till svårigheter att få hyra bostad, teckna abonnemang och få nya lån. För stöd, vänd dig till budget- och skuldrådgivningen i din kommun. Kontaktuppgifter finns på konsumentverket.se.
This is static text and must be displayed exactly as written. See Konsumentverket.se for detailed presentation requirements.
3. Consequences If the Instalment Plan Is Not Followed
The following information about general terms must be displayed alongside fixed instalment plans. Replace the {placeholders} with the applicable values:
Vad händer om jag inte följer betalplanen?
De här villkoren gäller så länge du följer betalplanen. Om du betalar ett lägre belopp eller senare, börjar de generella villkoren att gälla, för närvarande
{X}kr i månaden i administrationsavgift och{X,XX}% i rörlig årsränta.Kostnadsexempel vid generella villkor
Om du handlar för 10 000 kr och betalar av det under 12 månader, innebär det en månadskostnad på
{X}kr (totalt{X}kr), och den effektiva räntan blir{X,XX}%.
4. Legal Consent Text
Display the following consent text prior to the customer confirming their purchase:
Genom att slutföra köpet godkänner du Sveas allmänna villkor, butikens köpvillkor (
{YOUR_TERMS_URL}) och att dina uppgifter delas med butiken och den som ansvarar för leveransen av ditt köp. Du bekräftar också att du tagit del av Sveas dataskyddsinformation.
Replace {YOUR_TERMS_URL} with the URL to your own terms and conditions page.