Skip to main content

Get Available Campaigns

This request returns a list of available B2C/B2B part payment campaigns.

info

HTTP status code 200 indicates success, everything else indicates a failure.

Endpoint

Method: GET
/api/util/GetAvailablePartPaymentCampaigns?isCompany={isCompany}&amount={amount}

Request

URI Parameters
NameDescriptionTypeAdditional Information
isCompanyBoolean
amountDecimalIs used to calculate a monthly amount. Setting the parameter amount will also filter out campaigns that do not meet the amount requirement.
required field

Response

A list of campaigns.

NameDescriptionTypeAdditional Information
CampaignCodeInt64
DescriptionString
PaymentPlanTypeStandard (0), InterestFree (1), InterestAndAmortizationFree (2)
ContractLengthInMonthsInt32
MonthlyAnnuityFactorDecimal
InitialFeeDecimal
NotificationFeeDecimal
InterestRatePercentDecimal
NumberOfInterestFreeMonthsInt32
NumberOfPaymentFreeMonthsInt32
FromAmountDecimal
ToAmountDecimal
MonthlyAmountDecimal / NullIs only calculated when an amount was added to the request.

Part payment Widget

Part payment widget can be displayed in Product pages.
MonthlyAmount from Response is the value used in the widget.

Part payment widget sample
<p class="svea-part-payment-widget">
<img src="https://cdn.svea.com/webpay/Svea_Primary_RGB_medium.png">
Delbetalning från <span>98&nbsp;<span>kr</span></span>/månad
</p>

<style>
.svea-part-payment-widget {
font-weight: 700;
display: block;
}

.svea-part-payment-widget img {
width: 70px;
display: inline-block;
vertical-align: middle;
margin-right: 14px;
}
</style>