Playground and Sandbox

Test Payment Initiation API in a Playground

  • Navigate to Step 2 on the left panel: "Header Signing for Payment Initiation".
  • Enter the required input parameters: agreement country, Merchant ID, and BIC.
  • Add the request body with payment details formatted in JSON.
  • Press the "Execute" button to run the call.
  • For your convenience, we recommend copying the token value to your clipboard.
  • You can easily do this by clicking the button in the result window.
  • Alternatively, you may download the token value if preferred.
  • Please be aware that token validity is limited to one minute.
  • If your token has expired, kindly generate a new one.
  • To view the token, use the "Decode JWS from Clipboard" button.

How to Initiate a Payment and Obtain Its Details

  • Navigate to Step 2: On the right panel, locate "Starting Point for Payment Initiation."
  • Enter Required Parameters: Fill in the necessary input parameters, ensuring you use the token generated in the previous step.
  • Execute the Call: Click on the "Execute" button to initiate the payment process. This action will provide you with an ID for the payment initiation along with two URLs.
  • Copy and Parse Links: Copy the response to your clipboard, then click on "Parse links from Clipboard" to proceed further.

How to Query the Status of a Payment Initiation

  • Navigate to Step 3 (Left Panel): Locate "Header signing for Payment Initiation Status Polling."
  • Enter Input Parameters: Fill in the required input parameters, using the ID generated in the previous step.
  • Generate and Copy Token: Generate a token and copy it to your clipboard.
  • Navigate to Step 3 (Right Panel): Go to "Endpoint for Payment Initiation Status Polling."
  • Enter Required Details: Input the necessary parameters, utilizing both the ID and token obtained from earlier steps.
  • Receive Status: The status will be provided in the response body.

How to Change the Status of a Payment Initiation

  • Utilize the Redirect URL: Use the URL provided in the "redirect" field of the initiate payment response.
  • Explore Different Actions: Attempt various actions available through this URL to change and reset the status of the payment initiation as needed.

Sandbox environment is intended for testing and simulating API calls in a controlled setting. It allows developers to experiment with the API without affecting real data or systems. The sandbox environment will be expanded over time to include more features and capabilities.

Feature V3

Production Environment

If you have already active agreement, you can use production environment with small summs of money to experience real API calls.

NEW!

Sandbox environment

Use sandbox environment to test and simulate API calls in a controlled setting without affecting real data or systems. More usecases coming!

Base Url https://pi.swedbank.com/ https://pi-playground.swedbank.com/sandbox/
Merchant ID From agreement SANDBOX_RSA
Merchant private key Handled by merchant Provided
Bank's public key Here Here
Transaction endpoint V3 New! Link to Swagger
Payment initiation status notifications Back-end-based Browser-based 1 Footnote details

1. Could require special config or extension for disabling CORS

Parsed links