Resursbank

Configure Resursbank payment provider with Omnium for consumer financing and payment solutions.

Resursbank Integration with Omnium

Omnium supports Resursbank for payment processing with the following features:

  • Create Payment with customer financing options
  • Capture payments (with amount limits)
  • Release authorizations
  • Refund payments
  • Fetch Payment Methods dynamically
  • Get Details - Retrieve comprehensive payment information
  • Callback/Webhook handling for payment status updates

Setup Instructions

Configuration Path

  1. Navigate to: Configuration > Settings > Payment > Payment Types > "..." > Add

  2. Fill out the required fields as outlined below.


Required Fields

FieldDescriptionValue
Unique Payment NameThe unique identifier for the Resursbank payment method.ResursBank
Payment ServiceThe name of the payment service used for this configuration.ResursBank
Provider NameSpecifies which provider to use.ResursBank
Display NameThe name shown in checkout.Resursbank or your preferred name
Client IDYour Resursbank client identifier for authentication.Provided by Resursbank
API TokenYour Resursbank API secret for authentication.Provided by Resursbank
Base URLThe Resursbank API endpoint URL.See Base URL Options
Merchant IDYour store identifier in Resursbank (must be a valid GUID).Your Store ID from Resursbank
Vue TemplateThe template for payment method integration.resursBank-payment

Base URL Options

EnvironmentBase URL
Test/Integrationhttps://merchant-api.integration.resurs.com
Productionhttps://merchant-api.resurs.com

Additional Configuration

SettingDescriptionDefault
Display in CartShow Resursbank as a payment option in the cart interface.true
Get Details From ProviderEnable fetching real-time payment details from Resursbank.true
Authorization Time In DaysDefault authorization validity period.25 days
Valid On MarketsRestrict to specific markets. Leave empty for all.All markets
Valid For StoresRestrict to specific stores. Leave empty for all.All stores

Supported Operations

OperationSupportedNotes
Create PaymentYesWith payment method selection
CaptureYesAmount limit of 50,000 per capture
CancelYesOnly if not fully captured
Release Remaining AuthYesVia cancel operation
RefundYesRequires order lines
Fetch Payment MethodsYesDynamic payment method list
Update ReferenceYesUpdate order reference in Resursbank
Check StatusYesPayment status retrieval
Get DetailsYesComplete payment history

Important Limits

Capture Amount Limit

Resursbank enforces a 50,000 unit limit per capture operation. Attempting to capture amounts over 50,000 will fail with a validation error.

This limit applies to the capture amount in the smallest currency unit (e.g., cents/ore).


Fetch Payment Methods

Resursbank allows you to fetch available payment methods dynamically based on your merchant configuration. This is useful for:

  • Displaying available financing options to customers
  • Validating payment method availability before checkout
  • Showing maximum purchase limits for each method

Each payment method includes:

  • ID - Unique identifier (required for authorization)
  • Name - Display name
  • Type - Payment method type
  • Max Purchase Limit - Maximum allowed amount

Get Payment Details

When Get Details From Provider is enabled, you can retrieve comprehensive payment information including:

  • Order Information - Amount, status, creation date
  • Capture History - All captures with timestamps and amounts
  • Refund History - All refunds with timestamps and amounts
  • Order Lines - Item-level details for each action
  • Remaining Authorization - Uncaptured authorized amount

Validation Requirements

Authorization Requirements

  • Order Lines - Cannot be null or empty
  • Payment Method ID - Must be provided (from Fetch Payment Methods)

Capture Requirements

  • Transaction ID - Required
  • Order Lines - Cannot be null or empty
  • Amount - Must be greater than 0
  • Amount Limit - Cannot exceed 50,000

Refund Requirements

  • Transaction ID - Required
  • Order Lines - Cannot be null or empty (item-level tracking)

If all order lines sum to zero, capture succeeds with zero amount without calling the API.


Callback/Webhook Integration

Resursbank sends callbacks to notify Omnium of payment status changes:

Callback Statuses

Resursbank StatusOmnium StatusNotes
AUTHORIZEDProcessedPayment authorized successfully
CAPTUREDApprovedRare - capture handled by Omnium
FROZENPendingPayment under review
REJECTEDFailedPayment rejected

Callbacks automatically transition awaiting authorizations to completed authorizations.


Multiple Store Configuration

To use different merchant IDs for different markets or stores:

  1. Create multiple payment configurations
  2. Set different display names for each
  3. Assign each configuration to specific stores
  4. Each configuration uses its own Merchant ID

Error Handling

Resursbank errors are displayed on the order in the Errors section.

Common Errors

ErrorPossible CauseSolution
Authentication failedInvalid Client ID or API TokenVerify credentials with Resursbank
Amount over 50,000Capture amount exceeds limitSplit into multiple captures
Invalid Merchant IDMerchant ID not a valid GUIDVerify Merchant ID format
Order lines requiredMissing order lines on operationEnsure order lines are populated
Payment method requiredMissing payment method ID on authorizationSelect payment method from available options

Authorization Time

By default, Resursbank authorizations are valid for 25 days. This can be configured via the Authorization Time In Days setting.

The authorization time is converted to minutes when sent to Resursbank and determines how long the payment reservation remains valid before automatic expiration.


Payment Flow

  1. Fetch Payment Methods - Get available financing options
  2. Customer selects method - Payment method ID captured
  3. Create Payment - Authorization created with selected method
  4. Callback received - Payment status updated
  5. Capture - When order is ready for fulfillment
  6. Refund - Through returns workflow if needed

Configuration Reference

Payment Service

ResursBank

Merchant ID Format

Must be a valid GUID (e.g., 12345678-1234-1234-1234-123456789012)

API Authentication

OAuth2 authentication using Client ID and API Token.