alt
Unzer

Check your key configuration

Check your Unzer API key configuration

Overview

You can use the /keypair endpoint to check your Unzer API key configuration.

Any requests to the Unzer API must be authenticated by using either your public or private key obtained after signing a contract with Unzer. Check the Authentication page for more details.

Get detailed information and payment method configuration

To get a detailed view of your API key configuration, make a GET call to /keypair/types using your private key:

GET https://api.unzer.com/v1/keypair/types
{
    "publicKey": "s-pub-uM8yNmBNcs1xxxxxxxxxxxxxxxx",
    "privateKey": "56392899b9833f53d62xxxxxxxxxxxxxxxxxxxxxxx",
    "secureLevel": "SAQ-A",
    "alias": "myShop",
    "merchantName": "Testmerchant",
    "merchantAddress": "Musterstrasse 1",
    "paymentTypes": [
        {
            "supports": [
                {
                    "brands": [
                        "DISCOVERY",
                        "VISAELECTRON",
                        "MAESTRO",
                        "VISA",
                        "MASTER",
                        "JCB"
                    ],
                    "countries": [],
                    "channel": "31HA07BC819430D3495C56BC18C55622",
                    "currency": [
                        "EUR",
                        "DKK",
                        "CHF",
                        "CNY",
                        "JPY",
                        "USD",
                        "GBP"
                    ]
                }
            ],
            "type": "card",
            "allowCustomerTypes": "B2C,B2B",
            "allowCreditTransaction": false,
            "3ds": true
        },
        {
            "supports": [
                {
                    "brands": [],
                    "countries": [
                        "DE",
                        "AT"
                    ],
                    "channel": "31HA07BC819430D3495C56BC18C55622",
                    "currency": [
                        "EUR"
                    ]
                }
            ],
            "type": "sepa-direct-debit-secured",
            "allowCustomerTypes": "B2C,B2B",
            "allowCreditTransaction": true,
            "3ds": false
        },
        {
            "supports": [
                {
                    "brands": [
                        "PAYPALOT"
                    ],
                    "countries": [],
                    "channel": "31HA07BC8118EAD67DA9A7C8B313E11A",
                    "currency": [
                        "EUR"
                    ]
                }
            ],
            "type": "paypal",
            "allowCustomerTypes": "B2C",
            "allowCreditTransaction": false,
            "3ds": false
        }
    ],
    "coreId": "1234",
    "enableCrossChannelReferencing": "false"
}
ParameterTypeDescription
publicKeystringYour production public key.
privateKeystringYour production private key.
secureLevelstringYour PCI SAQ level.
aliasstringYour merchant alias.
paymentTypesobjectAll of your configured payment methods.
supportsobjectInformation about a configured payment method.
brandsstringBrands related to the payment method.
countriesstringCountries where the payment method is supported.
channelstringA channel that identifies the payment method.
currencystringISO currency code: For a list of possible codes, see Amounts and Currencies.
typestringThe type of the related payment resource.
3dsbooleanFor cards: if set to true, the card is configured with the 3-D Secure protocol enabled.

For a full description of the /keypair call please refer to API Reference.

See also

Authentication (API basics)