Business

Custom Logo

schedule 2 min read

How to add your own logo.

Edit "Custom Logo" on GitHub

If you have permission and the feature has been activated in your contract, you can replace the Swedbank Pay logo in the Payment Menu. See the abbreviated example below with logoUrl present in the paymentOrder request’s urls.

  • If the configuration is activated and you add a logoUrl, the SwedbankPay logo will be replaced and the text changed accordingly.

  • If the configuration is activated and you do not add a logoUrl, no logo or text will be shown.

  • If the configuration is deactivated, adding a logoUrl has no effect.

Request

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
POST /psp/paymentorders HTTP/1.1
Host: api.externalintegration.payex.com
Authorization: Bearer <AccessToken>
Content-Type: application/json

{
    "paymentorder": {
        "urls": {
            "hostUrls": [ "https://example.com", "https://example.net" ],
            "completeUrl": "https://example.com/payment-completed",
            "cancelUrl": "https://example.com/payment-cancelled",
            "paymentUrl": "https://example.com/perform-payment",
            "callbackUrl": "https://api.example.com/payment-callback",
            "termsOfServiceUrl": "https://example.com/termsandconditions.pdf",
            "logoUrl": "https://example.com/logo.png"
        }
    }
}