Swish
APR Integration option
Payment
Payment Flow
- The customer initiates the payment on the merchant's website.
- The merchant sends a payment request to PaySage.io.
- PaySage.io responds with a link to a payment page with a QR code.
- The merchant redirects the customer to the payment page.
- The customer scans the QR code and confirms the payment in the Swish app.
- PaySage.io sends a webhook notification with the final payment status to the merchant.
Info
This integration option supports only SEK currency.
Request
Send a payment request with the following data:
|
|||||||||||||||||||||||||||||||||||||||||||
Request example
{
"request": {
"amount": 50000,
"currency": "SEK",
"description": "Beställning 1001",
"return_url": "https://merchant.example.com/return",
"ip": "192.0.2.10",
"customer": {
"external_id": "se-customer-1001",
"email": "elsa.svensson@example.com",
"phone": "46701234567",
"first_name": "Elsa",
"last_name": "Svensson",
"birth_date": "1990-05-22",
"city": "Malmö",
"address": "Exempelgatan 12",
"zip": "211 41"
},
"method": {
"type": "swish"
}
}
}
Response
Redirect the customer to the URL received as the value of the form.action parameter. The customer scans the QR code on the payment page and confirms the payment in the Swish app. Use the webhook notification to get the final payment status.
Response example
{
"transaction": {
"uid": "0695636c-d246-47ef-a461-c8971ef05fef",
"type": "payment",
"status": "pending",
"amount": 50000,
"currency": "SEK",
"description": "Beställning 1001",
"created_at": "2026-10-02T10:03:57Z",
"updated_at": "2026-10-02T10:03:57Z",
"method_type": "swish",
"receipt_url": "https://backoffice.paysage.io/customer/transactions/0695636c-d246-47ef-a461-c8971ef05fef/c8c697af054ec799290fa6d6b5d043b2f818d373b148f03d4174652b5cf1bcfd",
"payment": {
"status": "pending",
"gateway_id": 7494,
"ref_id": "511606409061",
"message": "Transaction was initialized."
},
"swish": {
"type": "swish"
},
"customer": {
"zip": "211 41",
"city": "Malmö",
"email": "elsa.svensson@example.com",
"phone": "46701234567",
"address": "Exempelgatan 12",
"last_name": "Svensson",
"birth_date": "1990-05-22",
"first_name": "Elsa",
"external_id": "se-customer-1001",
"ip": "192.0.2.10"
},
"manually_corrected_at": null,
"version": 1,
"message": "Transaction was initialized.",
"test": false,
"billing_address": {
"zip": "211 41",
"city": "Malmö",
"email": "elsa.svensson@example.com",
"phone": "46701234567",
"address": "Exempelgatan 12",
"last_name": "Svensson",
"birth_date": "1990-05-22",
"first_name": "Elsa"
},
"additional_data": {
"payment_method": {
"type": "alternative"
}
},
"smart_routing_verification": {
"status": "skipped"
},
"gateway": {
"iframe": true
},
"form": {
"action": "link-to-payment-page",
"fields": [],
"method": "GET"
}
}
}