# OBHD Test Scenarios

The test scenarios found below demonstrate how the Konsentus PSP checking service works for OBHD certificates against endpoint GET /v1/PSP/eIDAS. We have generated test data and test certificates for the below 6 scenarios.

You can use all 6 certificates for our sandbox environment. We can provide end to end test certificates for all scenarios. These can be requested via our support desk. (opens new window)

The payment services numbers returned in these test scenarios relate to the OBHD permission Tiers. See the table below for the mapping between Tier numbers and payment services.

Tiers Payment Services
Tier 1 Public Data
Tier 2 Subscription and account opening
Tier 3 Account Information Service (AIS)
Tier 4 Payment Initiation Service (PIS)

# Running the scenarios

To keep the scenarios separate from any real country or NCA, a fake ISO 3166 country code, 'XX', has been set up, with the NCA identifier of 'XX-TEST'. An example of how to query the endpoint using cURL is provided below.

You will need to generate your basic auth header from your provided API credentials and supply an fi_reference_id.

Scenario 1:

curl --location --request GET 'https://sandbox.konsentus.com/v1/psp/eidas?jurisdiction=xx' \
--header 'eidas: MIIF5jCCBM6gAwIBAgIUbx5jh4WYC+qH+QdPruclzqraVQgwDQYJKoZIhvcNAQELBQAwgYMxCzAJBgNVBAYTAkdCMQ8wDQYDVQQJDAZMb25kb24xIDAeBgNVBAMMF0tvbnNlbnR1cyBPQklFIFFUU1AgLSAxMSAwHgYDVQQKDBdLb25zZW50dXMgT0JJRSBRVFNQIC0gMTEfMB0GA1UECwwWS29uc2VudHVzIE9CSUUgVGVzdGluZzAgFw0yMDEyMTQxNTM2MzJaGA8yMTIwMTEyMTE1MzYzMlowgaAxCzAJBgNVBAYTAkdCMQ8wDQYDVQQJDAZMb25kb24xHzAdBgNVBAMMFktvbnNlbnR1cyBPQklFIFBTUCAtIDExHzAdBgNVBAoMFktvbnNlbnR1cyBPQklFIFBTUCAtIDExHzAdBgNVBAsMFktvbnNlbnR1cyBPQklFIFRlc3RpbmcxHTAbBgNVBGEMFFBTRFhYLU9CLVRFU1QtMDAwMDAxMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu+lFJvbq7yNRAUu68Qx7rFs0yh9z8ePPC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vcNAQELBQADggEBAB6jSlYuVXOAHqZ83bpiaV6jJ+4kITpaHbEtUA/5IFHqwpKb5DmJfUKG+VoeaCZky6nSmixGYG9utxCjnq5kmN7LqyiB8aZq4lEMDkJPgNuabbQpDjBj7YTpDZXD6Cz1D/+spOlyLTH0DNGNB7PcOOIQ9FwCoPqPHrvxBl2AADo8KyUUPib2mrENxT10DdaTGFLv7ZXsqH126UcNTXaWp08J3wFSGOdZ0BdEOLHEXuiz702CAcpW1/Uz5FhBUp39LR8jJ8zQMB8SjpvN8z4QLMkRXkZ0RZvXpPf/pqM00cCd+K1XYA7DGcz80qTAMOkquX7WtlS4hnR4EEVVC389XqA=' \
--header 'version: latest' \
--header 'fi_reference_id: {See below for information on what a valid fi_reference_id is}' \
--header 'transaction_reference: {See below for information on what a valid transaction_reference is}' \
--header 'Authorization: Basic {basic auth header}'

# Scenario 1 - Authorised PSP and a valid certificate

In this scenario, we are running a check on the test PSP "Konsentus OBHD PSP - 1", which is a PSP from the fictional country Testonia with ISO 3166 country code of 'XX' and has the alternate Authorisation Number of "PSDXX-OBHD-TEST-000001" in the NCA register with name XX-TEST. They have a valid certificate that passes all of our checks. They hold the "Authorised" status in the register XX-TEST.

Certificate in Base 64 Format (this is the format the endpoint requires the certificate in)

MIIEfTCCA2WgAwIBAgIUCFGcaS3Z/6LFgH7THZ6qRNzHGuswDQYJKoZIhvcNAQELBQAwgZsxCzAJBgNVBAYTAlhYMRMwEQYDVQQJDApHcmV5ZnJpYXJzMSowKAYDVQQDDCFLb25zZW50dXMgT0JIRCBDZXJ0aWZpY2F0ZSBJc3N1ZXIxKjAoBgNVBAoMIUtvbnNlbnR1cyBPQkhEIENlcnRpZmljYXRlIElzc3VlcjEfMB0GA1UECwwWS29uc2VudHVzIE9CSEQgVGVzdGluZzAgFw0yMjA0MTMxMDE2MjZaGA8yMTIyMDMyMTEwMTYyNlowgaYxCzAJBgNVBAYTAlhYMRMwEQYDVQQJDApHcmV5ZnJpYXJzMR8wHQYDV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HczBFOjm7IeNZTYwpKd/Tun+/wnDwzjbF9lD4C83Zc4ltWQDNGYinMvBZEeQ3VYQqthlanGjD44Z5qgujUg==

Sample of information in a certificate

---- Subject Name ----
Country: XX
Common Name: Konsentus OBHD PSP - 1
Organization Name: Konsentus OBHD PSP - 1
Other Name: PSDXX-OBHD-TEST-000001

---- Issuer Name ----
Country: XX
Street: Greyfriars
Organisation: Konsentus OBHD Certificate Issuer
Common Name: Konsentus OBHD Certificate Issuer

Serial Number: 08:51:9c:69:2d:d9:ff:a2:c5:80:7e:d3:1d:9e:aa:44:dc:c7:1a:eb
Version: 3
Signature Algorithm: SHA-256 with RSA Encryption ( 1.2.840.113549.1.1.11 )

Valid From: Apr 13 10:16:26 2022 GMT
Valid To:   Mar 21 10:16:26 2122 GMT

Endpoint Response

{
    "eIDAS": {
        "data": {
            "pspSubjectName": "Konsentus OBHD PSP - 1",
            "authNumber": "PSDXX-OBHD-TEST-000001",
            "QTSPCommonName": "Konsentus OBHD Certificate Issuer",
            "QTSPSource": "OBHD",
            "QTSPJurisdiction": "XX"
        },
        "validity": {
            "validQTSP": true,
            "validSignature": true,
            "notRevoked": true,
            "notExpired": true
        }
    },
    "homeRegister": {
        "ncaName": "XX-TEST",
        "ncaCountryCode": "XX",
        "registerType": "Home",
        "categoryEntries": [
            {
                "categoryName": "Private Domestic Bank",
                "pspLegalName": "Konsentus OBHD PSP - 1",
                "pspAuthStatus": "Authorised",
                "pspPaymentServices": [1]
            }
        ]
    }
}

# Scenario 2 - Unauthorised PSP and a valid certificate

In this scenario, we are running a check on the test PSP "Konsentus OBHD PSP - 2". Which is a PSP from the fictional country Testonia with ISO 3166 country code of 'XX' and has the authorisation number of "PSDXX-OBHD-TEST-000002" in the NCA register with name XX-TEST. They hold the "Unauthorised" status in the register XX-TEST.

Certificate in Base 64 Format (this is the format the endpoint requires the certificate in)

MIIEfTCCA2WgAwIBAgIUDhBCR8IiyyZBiBeNhNzfDCt2QvcwDQYJKoZIhvcNAQELBQ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1UdDgQWBBTMuK88FLxNJgZheo+C1MZ37admgTANBgkqhkiG9w0BAQsFAAOCAQEAUrENdlzBh7TXXUBvSJskweoKxoALqR0dJhzOlgWd9rk9BCMIJlpyGgycjfAsQq93cW71YYqpdmtMynh7HkYx6A3bY58N4JlgNQeCLPvHIAq9uOaVx/8ggC1zs8DaC168FhFBi0dLe8SObBRFgF/t08njzG6DFBaF4tDbbmQZRFSpS8BtZ7iLHL3DCMsNzwgPIz3KiHuZHDNZDsORSaId44WS3Vw1eYUS8YE9/mQ5ZWt3opBJP3Vj19mOH9jLSmaQz3VqofTXiN0P8Op/qxbLFcmSpfkaR24mevZWbCmA40Hruffz9QeN17zMtUnFiQlvhmTV84k/YpGeObukIQwJCw==

Sample of information in a certificate

---- Subject Name ----
Country: XX
Common Name: Konsentus OBHD PSP - 2
Organization Name: Konsentus OBHD PSP - 2
Other Name: PSDXX-OBHD-TEST-000002

---- Issuer Name ----
Country: XX
Street: Greyfriars
Organisation: Konsentus OBHD Certificate Issuer
Common Name: Konsentus OBHD Certificate Issuer

Serial Number: 0e:10:42:47:c2:22:cb:26:41:88:17:8d:84:dc:df:0c:2b:76:42:f7
Version: 3
Signature Algorithm: SHA-256 with RSA Encryption ( 1.2.840.113549.1.1.11 )

Valid From: Apr 13 14:46:11 2022 GMT
Valid To:   Mar 21 14:46:11 2122 GMT

Endpoint Response

{
    "eIDAS": {
        "data": {
            "pspSubjectName": "Konsentus OBHD PSP - 2",
            "authNumber": "PSDXX-OBHD-TEST-000002",
            "QTSPCommonName": "Konsentus OBHD Certificate Issuer",
            "QTSPSource": "OBHD",
            "QTSPJurisdiction": "XX"
        },
        "validity": {
            "validQTSP": true,
            "validSignature": true,
            "notRevoked": true,
            "notExpired": true
        }
    },
    "homeRegister": {
        "ncaName": "XX-TEST",
        "ncaCountryCode": "XX",
        "registerType": "Home",
        "categoryEntries": [
            {
                "categoryName": "Private Domestic Bank",
                "pspLegalName": "Konsentus OBHD PSP - 2",
                "pspAuthStatus": "Unauthorised",
                "pspPaymentServices": [1]
            },

    }
}

# Scenario 3 - Authorised PSP and an expired certificate

In this scenario, we are running a check on the test PSP "Konsentus OBHD PSP - 3". Which is a PSP from the fictional country Testonia with ISO 3166 country code of 'XX' and has the authorisation number of "PSDXX-OBHD-TEST-000003" in the NCA register with name XX-TEST. They have a certificate that has expired. They hold the "Authorised" status in the register XX-TEST.

Request Certificate

MIIEezCCA2OgAwIBAgIULZr+lHNbfLtV/jvpS1nNZ31vJzIwDQYJKoZIhvcNAQELBQAwgZsxCzAJBgNVBAYTAlhYMRMwEQYDVQQJDApHcmV5ZnJpYXJzMSowKAYDVQQDDCFLb25zZW50dXMgT0JIRCBDZXJ0aWZpY2F0ZSBJc3N1ZXIxKjAoBgNVBAoMIUtvbnNlbnR1cyBPQkhEIENlcnRpZmljYXRlIElzc3VlcjEfMB0GA1UECwwWS29uc2VudHVzIE9CSEQgVGVzdGluZzAeFw0yMjA0MTMxNDQ1NDdaFw0yMjA0MTQxNDQ1NDdaMIGmMQswCQYDVQQGEwJYWDETMBEGA1UECQwKR3JleWZyaWFyczEfMB0GA1UEAwwWS29uc2VudHVzIE9CSEQgUFNQIC0gMzEfMB0GA1UECgwWS29uc2VudHVzIE9CSEQgUFNQIC0gMzEfMB0GA1UECwwWS29uc2VudHVzIE9CSEQgVGVzdGluZzEfMB0GA1UEYQwWUFNEWFgtT0JIRC1URVNULTAwMDAwMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMQg8JZJqlCfpf8PanNxu2fUuuP+PFgHT++QplmBfV1fZrr+ncTOo/aID28mJ18/bzG+qo5ZoDXN9KnbEesAkdBX793DUYQ4GekRZ7mc9Fex1l+BgoNdQDNPUmRHUBbjFtQd6mHwSwPCkgHIKSy93AISxpd9DrEAfQeXhcdclqLG1F5BljxFjsxny54Tiw1lXUlObEwpDBmpydKyuILeQ8OdF8FVqJYFg0jKx2HgBsF2SR7XHXoHx8UbqmOV5gwtUqL/4xVAo00FC1DWoof4SxuseY6EYk95fVmCPmm8DLvejxy9JahqOU/Jg8po4dEz3K8+4Zkz2mAinT9FmJ/liwcCAwEAAaOBqTCBpjBkBgNVHR8EXTBbMFmgV6BVhlNodHRwOi8vay10ZXN0LWNlcnRpZmljYXRlcy5zMy5ldS13ZXN0LTIuYW1hem9uYXdzLmNvbS9zY2VuYXJpb19vYmh1Yl8zX29iaGRfY3JsLmRlcjAfBgNVHSMEGDAWgBS7W9Ve16HcYDbXgZJm5j9Nbg2XczAdBgNVHQ4EFgQULZU2tvC16LcSvDogR4sqx9kvtbUwDQYJKoZIhvcNAQELBQADggEBADio0r2ehAgiY6Kb0/dZ4ADdmTt41ucd4VG+VKv8djb6ObPU2N2qocC+ubo4F/oC+dnA/R6e1VrrqqH8Cc4nYoi8O6Ifaetht4AsrtVGtrSCt4rl79+aSsyS5rmrxMgCBUxbXOL467FQm1u1/+9/bfekaOkaO98UORnEe8oYSNYAL8dMM792PO30sV7qrJ11Xn3dPFmBgFS5UmK5VscDRvgnC8F0Y1qdHLsI6oY0Zoftqor+Y1t79sSSa2LRSuhHyLa2Lc7ngjZdt7HEzjEdoSW5ruZIbHdDk90q+F+WIBoZCDvyQQlWZ4HH93BmxTe86uKW6BWqRbU1/6IVAlP+RzY=

Certificate Information

---- Subject Name ----
Country: XX
Common Name: Konsentus OBHD PSP - 3
Organization Name: Konsentus OBHD PSP - 3
Other Name: PSDXX-OBHD-TEST-000003

---- Issuer Name ----
Country: XX
Street: Greyfriars
Organisation: Konsentus OBHD Certificate Issuer
Common Name: Konsentus OBHD Certificate Issuer

Serial Number: 2d:9a:fe:94:73:5b:7c:bb:55:fe:3b:e9:4b:59:cd:67:7d:6f:27:32
Version: 3
Signature Algorithm: SHA-256 with RSA Encryption ( 1.2.840.113549.1.1.11 )

Valid From: Apr 13 14:45:47 2022 GMT
Valid To:   Apr 14 14:45:47 2022 GMT

Endpoint Response

{
    "eIDAS": {
        "data": {
            "pspSubjectName": "Konsentus OBHD PSP - 3",
            "authNumber": "PSDXX-OBHD-TEST-000003",
            "QTSPCommonName": "Konsentus OBHD Certificate Issuer",
            "QTSPSource": "OBHD",
            "QTSPJurisdiction": "XX"
        },
        "validity": {
            "validQTSP": true,
            "validSignature": true,
            "notRevoked": true,
            "notExpired": false
        }
    },
    "homeRegister": {
        "ncaName": "XX-TEST",
        "ncaCountryCode": "XX",
        "registerType": "Home",
        "categoryEntries": [
            {
                "categoryName": "Private Domestic Bank",
                "pspLegalName": "Konsentus OBHD PSP - 3",
                "pspAuthStatus": "Authorised",
                "pspPaymentServices": [1]
            }
        ]
    }
}

# Scenario 4 - Authorised PSP and a revoked certificate

In this scenario, we are running a check on the test PSP "Konsentus OBHD PSP - 4". Which is a PSP from the fictional country Testonia with ISO 3166 country code of 'XX' and has the authorisation number of "PSDXX-OBHD-TEST-000004" in the NCA register with name XX-TEST. They have a certificate that has been revoked. They hold the "Authorised" status in the register XX-TEST.

Certificate in Base 64 Format (this is the format the endpoint requires the certificate in)

MIIEhTCCA22gAwIBAgIUKTOA/rMy2ItR0+EhV7QRDe/afJAwDQYJKoZIhvcNAQELBQAwgaMxCzAJBgNVBAYTAlhYMRMwEQYDVQQJDApHcmV5ZnJpYXJzMS4wLAYDVQQDDCVLb25zZW50dXMgT0JIRCBDZXJ0aWZpY2F0ZSBJc3N1ZXIgLSA0MS4wLAYDVQQKDCVLb25zZW50dXMgT0JIRCBDZXJ0aWZpY2F0ZSBJc3N1ZXIgLSA0MR8wHQYDVQQLDBZLb25zZW50dXMgT0JIRCBUZXN0aW5nMCAXDTIyMDQxMzE0NDQxMFoYDzIxMjIwMzIxMTQ0NDEwWjCBpjELMAkGA1UEBhMCWFgxEzARBgNVBAkMCkdyZXlmcmlhcnMxHzAdBgNVBAMMFktvbnNlbnR1cyBPQkhEIFBTUCAtIDQxHzAdBgNVBAoMFktvbnNlbnR1cyBPQkhEIFBTUCAtIDQxHzAdBgNVBAsMFktvbnNlbnR1cyBPQkhEIFRlc3RpbmcxHzAdBgNV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4
Organization Name: Konsentus OBHD PSP - 4
Other Name: PSDXX-OBHD-TEST-000004

---- Issuer Name ----
Country: GB
Street: London
Organisation: Konsentus OBHD Certificate Issuer
Common Name: Konsentus OBHD Certificate Issuer

Serial Number: 29:33:80:fe:b3:32:d8:8b:51:d3:e1:21:57:b4:11:0d:ef:da:7c:90
Version: 3
Signature Algorithm: SHA-256 with RSA Encryption ( 1.2.840.113549.1.1.11 )

Valid From: Apr 13 14:44:10 2022 GMT
Valid To:   Mar 21 14:44:10 2122 GMT

Endpoint Response

{
    "eIDAS": {
        "data": {
            "pspSubjectName": "Konsentus OBHD PSP - 4",
            "authNumber": "PSDXX-OBHD-TEST-000004",
            "QTSPCommonName": "Konsentus OBHD Certificate Issuer",
            "QTSPSource": "OBHD",
            "QTSPJurisdiction": "XX",
        },
        "validity": {
            "validQTSP": true,
            "validSignature": true,
            "notRevoked": false,
            "notExpired": true
        }
    },
    "homeRegister": {
        "ncaName": "XX-TEST",
        "ncaCountryCode": "XX",
        "registerType": "Home",
        "categoryEntries": [
            {
                "categoryName": "Private Domestic Bank",
                "pspLegalName": "Konsentus OBHD PSP - 4",
                "pspAuthStatus": "Authorised",
                "pspPaymentServices": [
                    1
                ]
            },
        ]
    }

# Scenario 5 - Authorised PSP and certificate has no revocation list

In this scenario, we are running a check on the test PSP "Konsentus OBHD PSP - 5". Which is a PSP from the fictional country Testonia with ISO 3166 country code of 'XX' and has the authorisation number of "PSDXX-OBHD-TEST-000005" in the NCA register with name XX-TEST. They have a certificate that has no revocation list (or at least a URI on the certificate that does not lead to a revocation list). They hold the "Authorised" status in the register XX-TEST.

Certificate in Base 64 Format (this is the format the endpoint requires the certificate in)

MIIERjCCAy6gAwIBAgIUZo0YhwmciW7f2/A084L3b2boaYAwDQYJKoZIhvcNAQELBQAwgZsxCzAJBgNVBAYTAlhYMRMwEQYDVQQJDApHcmV5ZnJpYXJzMSowKAYDVQQDDCFLb25zZW50dXMgT0JIRCBDZXJ0aWZpY2F0ZSBJc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yHE4Rne/WF6Y9uBRq+yzBI4BQnfODiUKeqI0phh4759FCha1K8m/kJdjrq94sGVKsg02gqFzgOlsJ3VKhmQXNRp7Es21M5ImAgPAp5dQL+/4RmXUhjjg7PBvDNF2Ddg8wCRelDSIDlw4zKF891qzyeYzW8lLGP/VDE7bVE2u1cmz6zYudKUEdidEfqrg7rHVffbMpSC6IUfw+ROSKIdg1eHVPU8Lsm5

Certificate Information

---- Subject Name ----
Country: XX
Common Name: Konsentus OBHD PSP - 5
Organization Name: Konsentus OBHD PSP - 5
Other Name: PSDXX-OBHD-TEST-000005

---- Issuer Name ----
Country: XX
Street: Greyfriars
Organisation: Konsentus OBHD Certificate Issuer
Common Name: Konsentus OBHD Certificate Issuer

Serial Number: 66:8d:18:87:09:9c:89:6e:df:db:f0:34:f3:82:f7:6f:66:e8:69:80
Version: 3
Signature Algorithm: SHA-256 with RSA Encryption ( 1.2.840.113549.1.1.11 )

Valid From: Apr 13 14:43:56 2022 GMT
Valid To:   Mar 21 14:43:56 2122 GMT

Endpoint Response

{
    "eIDAS": {
        "data": {
            "pspSubjectName": "Konsentus OBHD No Revocation PSP - 5",
            "authNumber": "PSDXX-OBHD-TEST-000005",
            "QTSPCommonName": "Konsentus OBHD Certificate Issuer",
            "QTSPSource": "OBHD",
            "QTSPJurisdiction": "XX"
        },
        "validity": {
            "validQTSP": true,
            "validSignature": true,
            "notRevoked": false,
            "notExpired": true
        },
        "errors": [
            {
                "code": "crl_response_error",
                "title": "CRL revocation check failure on certificate C=XX, STREET=Greyfriars, CN=Konsentus OBHD Certificate Issuer, O=Konsentus OBHD No Revocation PSP - 5, OU=Konsentus OBHD Testing, OrganizationIdentifier=PSDXX-OBHD-TEST-000005",
                "link": "https://developers.konsentus.com/api-reference/error-codes.html"
            },
            {
                "code": "ocsp_response_error",
                "title": "OCSP revocation check failure on certificate C=XX, STREET=Greyfriars, CN=Konsentus OBHD Certificate Issuer, O=Konsentus OBHD No Revocation PSP - 5, OU=Konsentus OBHD Testing, OrganizationIdentifier=PSDXX-OBHD-TEST-000005",
                "link": "https://developers.konsentus.com/api-reference/error-codes.html"
            }
        ]
    },
    "homeRegister": {
        "ncaName": "XX-TEST",
        "ncaCountryCode": "XX",
        "registerType": "Home",
        "categoryEntries": [
            {
                "categoryName": "Private Domestic Bank",
                "pspLegalName": "Konsentus OBHD PSP - 5",
                "pspAuthStatus": "Authorised",
                "pspPaymentServices": [1]
            }
        ]
    }
}

# Scenario 6 - Authorised PSP and certificate with an invalid signature

In this scenario, we are running a check on the test PSP "Konsentus OBHD PSP - 6". Which is a PSP from the fictional country Testonia with ISO 3166 country code of 'XX' and has the authorisation number of "PSDXX-OBHD-TEST-000006" in the NCA register with name XX-TEST. They have a certificate that has a signature that tells us that the contents of the certificate have been tampered with. They hold the "Authorised" status in the register XX-TEST.

Certificate in Base 64 Format (this is the format the endpoint requires the certificate in)

MIIEhTCCA22gAwIBAgIUN9kNjm8UqvbP6lQgtqhvI53bViMwDQYJKoZIhvcNAQELBQAwgaMxCzAJBgNVBAYTAlhYMRMwEQYDVQQJDApHcmV5ZnJpYXJzMS4wLAYDVQQDDCVLb25zZW50dXMgT0JIRCBDZXJ0aWZpY2F0ZSBJc3N1ZXIgLSA2MS4wLAYDVQQKDCVLb25zZW50dXMgT0JIRCBDZXJ0aWZpY2F0ZSBJc3N1ZXIgLSA2MR8wHQYDVQQLDBZLb25zZW50dXMgT0JIRCBUZXN0aW5nMCAXDTIyMDQxMzE0NDMzNFoYDzIxMjIwMzIxMTQ0MzM0WjCBpjELMAkGA1UEBhMCWFgxEzARBgNVBAkMCkdyZXlmcmlhcnMxHzAdBgNVBAMMFktvbnNlbnR1cyBPQkhEIFBTUCAtIDYxHzAdBgNVBAoMFktvbnNlbnR1cyBPQkhEIFBTUCAtIDYxHzAdBgNVBAsMFktvbnNlbnR1cyBPQkhEIFRlc3RpbmcxHzAdBgNVBGEMFlBTRFhYLU9CSEQtVEVTVC0wMDAwMDYwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC9JTYcNq7oi2iyjR2CoPJbAoq3XU1R3uAoTRGnqX/f/ULUFVe0MJGJOiPNi0fe13jRUA7YiNJW/cqFJVtfc7ddDl059M/pICnz3yFQiNsLgv94cyc7vGNKdhOIBX9N2/RRNGdFyXsGEgEBVrblSGtqFaChCj/fyzfSwtNvBGbva3rWaVazjN4+oLCXU0amUVwvaFORaGCmromdf9nT5wBvpJVg5KJE5AW43mG5JEpfRFj+5BuFU5tnaPpT/CJI+/zy80xKbX3DwRbmBCXbXisoiwCDsIiuTrg+tIUneyNomkBD7deGUD8fV5wR7uTE6Kdyra+BuNQIH09zYPWB3T8JAgMBAAGjgakwgaYwZAYDVR0fBF0wWzBZoFegVYZTaHR0cDovL2stdGVzdC1jZXJ0aWZpY2F0ZXMuczMuZXUtd2VzdC0yLmFtYXpvbmF3cy5jb20vc2NlbmFyaW9fb2JodWJfNl9vYmhkX2NybC5kZXIwHwYDVR0jBBgwFoAUvg0tgKCE7rks2nF00Oce8oO7eygwHQYDVR0OBBYEFKGNZdaEsVsj/9e8lIak9rqbK6XHMA0GCSqGSIb3DQEBCwUAA4IBAQAWGoCK12vHv7GlqWAgETgrIW4vCjM6uWs3wwr4JgVFZYyKafTin1nuWJ0U/pSt92dCVzZJZH9K2kaP2sshd7v0EDzwDq0rb+3VGvIOWo4VfVH7jXUFBoY4ehoyAdob2jFPEIfDsQyG2+Pd45IHn1/xCpYGMG1PGcPC9wiXyKraL2XPcBlQ88d66jfRf6eBdV4+NxpWAkiniZecI1UYLNl3/v5I5EaKjYfd7mc5TmiJgo9jRNXZ29nDT5eihWJeRY8b29lf2Ns11hqo3jsLOT9Q6FcYy4aljZjvMWSAXbWzAIOlyMJFLBL8O8wIYbviEYpdcUj3Z2WOtthSzedlLX3h

Certificate Information

---- Subject Name ----
Country: XX
Common Name: Konsentus OBHD PSP - 6
Organization Name: Konsentus OBHD PSP - 6
Other Name: PSDXX-OBHD-TEST-000006

---- Issuer Name ----
Country: XX
Street: Greyfriars
Organisation: Konsentus OBHD Certificate Issuer
Common Name: Konsentus OBHD Certificate Issuer

Serial Number: 37:d9:0d:8e:6f:14:aa:f6:cf:ea:54:20:b6:a8:6f:23:9d:db:56:23
Version: 3
Signature Algorithm: SHA-256 with RSA Encryption ( 1.2.840.113549.1.1.11 )

Valid From: Apr 13 14:43:34 2022 GMT
Valid To:   Mar 21 14:43:34 2122 GMT

Endpoint Response

{
    "eIDAS": {
        "data": {
            "pspSubjectName": "Konsentus OBHD PSP - 6",
            "authNumber": "PSDXX-TEST-000006",
            "QTSPCommonName": "Konsentus OBHD Certificate Issuer",
            "QTSPSource": "OBHD",
            "QTSPJurisdiction": "XX"
        },
        "validity": {
            "validQTSP": true,
            "validSignature": false,
            "notRevoked": true,
            "notExpired": true
        }
    },
    "homeRegister": {
        "ncaName": "XX-TEST",
        "ncaCountryCode": "XX",
        "registerType": "Home",
        "categoryEntries": [
            {
                "categoryName": "Private Domestic Bank",
                "pspLegalName": "Konsentus OBHD PSP - 6",
                "pspAuthStatus": "Authorised",
                "pspPaymentServices": [1]
            }
        ]
    }
}
Last Updated: 9/9/2024, 8:16:35 AM