MARKETPLACE
PLUGINS
SWISH API (SANDBOX ENVIRONMENT)
Swish API (Sandbox Environment) logo

Swish API (Sandbox Environment)

Published January 2025
   •    Updated October 2025

Plugin details

Swish API, including payment, refund and payout requests. This is the most commonly used payment solution in Sweden.
This is the API for the Sandbox Environment only. Check my other plugins for other environments or for a full solution.

With this API, you can simulate the whole suite of payment, payouts and refunds, as it would work in the Swish production environment.

Free

For everyone

stars   •   0 ratings
5 installs  
This plugin does not collect or track your personal data.

Other actions

Platform

Web & Native mobile

Contributor details

Diego Saavedra San Juan logo
Diego Saavedra San Juan
Joined 2023   •   4 Plugins
View contributor profile

Instructions

First, configure the plugin by specifying your certificates. You also need to register to Swish to use the Sandbox environment (https://developer.swish.nu/documentation/environments#user-enrolment)
Use API calls to create/check payment requests / refunds / payouts.


Please observer payouts need a signing procedure as described here:  https://developer.swish.nu/documentation/guides/make-a-payout

It basically involves creating an md5 hash or the payload and then signing it using RSA (SHA521) with the test signing certificate provided by Swish (see above).

Haven't done this in Bubble yet, only in Java as per Swish instructions, but apparently these plugins could be used to generate the hash and maybe the RSA signature:


HASH

https://bubble.io/plugin/cryptographic-hashes-1654419731259x909591253244969000

RSA

https://bubble.io/plugin/rsa-sha256-hash-backend-1600934426535x594017963721097200

Or you could use a trustable service online with an API to do this.

You can manually create the hash and signature using these online services:


HASH:
https://emn178.github.io/online-tools/sha512.html

SIGNATURE:
https://www.lddgo.net/en/encrypt/rsa-sign-verify#toolNoteIframe

NOTE: The payload must be exactly the same when being sent to Swish in the request and when you are calculating the HASH! This includes spaces/carriage line and UTF-8.


Types

This plugin can be found under the following types:
Api   •   Action

Categories

This plugin can be found under the following categories:

Resources

Support contact
Documentation

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble