Example of important settings

  • DefaultLanguage – Changes the user interface language for web forms shown by ZignSec. For example, if a customer mainly uses the Swedish BankID ZignSec will set this setting to SV for best user experience. If DefaultLanguage is not set EN is used. The code format should be the 2-letter ISO 639-1 language code, case-insenitive.
  • EID_Webhook_PROD / EID_Webhook_TEST – If set, results after login success or error will be POST:ed to this url. For BankID Swedish without ui you can also set the webhook url on each call with parameter webhook

Swish settings

  • Swish_Host_PROD / Swish_Host_TEST – The Swish host API endpoint. Optional.
  • Swish_PayeeAlias_PROD / Swish_PayeeAlias_TEST – The Swish number of the merchant which is the identification of the payment receiver.
  • Swish_Webhook_PROD / Swish_Webhook_TEST – The callback url that will receive results from Swish payments. Optional, it can also be set on each call through a parameter.
  • Swish_Webhook_Refund_PROD / Swish_Webhook_Refund_TEST The callback url that will receive results from Swish refunds. Optional, can also be set on each call through a request parameter.
  • Swish_CertificateThumbprint_PROD / Swish_CertificateThumbprint_TEST Thumbprint of certificate that will be used for client authentication of TLS communication with the Swish API. Required per merchant.
  • Swish_RootCAThumbprint_PROD / Swish_RootCAThumbprint_TEST Thumbprint of TLS server certificate, which needs to be verified when initiating TLS from web server to Swish. Optional.
  • TestSeLookupPerson – An extra set of Swedish test persons for LookupPerson for your merchant.
  • TestDkLookupPerson – An extra set of Danish test persons for LookupPerson for your merchant.
  • RedirectUrl_ExpirationInMinutes_PROD / RedirectUrl_ExpirationInMinutes_TEST Time in minutes when return_url will be expired. Default 10080 (7 days)

Note: The test persons mentioned above must be formatted as a long string according to this format: personalnumber; firstname; lastname; address; address2; postalcode; city An example (two Danish test persons): 0608914472; Trude; Berg; Mengvej 91;; 6094; Hejls |
1204001139; Tito; Kristoffersen; Eskj\u00e6rvej 6; Eskj\u00e6r; 7870; Roslev
And even larger test cache example can be found here.

GET myaccount/settings

This example demonstrates how to get all stored settings on your account. Request Example:

GET https://test.zignsec.com/v2/myaccount/settings HTTP/1.1
Authorization: YOUR-KEY

Response is of content-type “application/json; charset=utf-8”, in this case :

{
  "test2": "testing_testing",
  "test3": "23'45l cv89\u00f6\\\u00a3\u20ac@9!\"#\u00a7\u00bd",
  "TestDkLookupPerson": "0608914472; Trude; Berg; Mengvej 91;; 6094; Hejls |  1204001139; Tito; Kristoffersen; Eskj\u00e6rvej 6; Eskj\u00e6r; 7870; Roslev"
}

GET myaccount/settings/{settingName}

The example below demonstrates the retrieval of the TestDkLookupPerson setting. Request Example:

GET https://test.zignsec.com/v2/myaccount/settings/testdklookupperson HTTP/1.1
Authorization: YOUR-KEY

Response is of content-type “plain/text”, in this case: 0608914472; Trude; Berg; Mengvej 91;; 6094; Hejls |
1204001139; Tito; Kristoffersen; Eskjærvej 6; Eskjær; 7870; Roslev |
2202132121; Thom; Gregersen; Jættehøjen 57; ; 8240; Risskov |
1904450040; Tina; Danielsen; Sundbakken 31; ; 5700; Svendborg

POST myaccount/settings/{settingName}

The below example sets setting test3 to the new value “23’45l cv89ö\£€@9!”#§½.“, a string containing unusual characters as a demonstration. Notice how the string needs to be base64-encoded in the http body below. Request:

POST https://test.zignsec.com/v2/myaccount/settings/test3 HTTP/1.1
Content-Length: 27
Content-Type: application/json; charset=UTF-8
Authorization: YOUR-KEY

{"newValue":"MjMnNDVsIGN2ODnDtlzCo+KCrEA5ISIjwqfCvQ=="}

DELETE myaccount/settings/{settingName}

The below example detetes setting ‘test3’ for the current customer. Request:

DELETE https://test.zignsec.com/v2/myaccount/settings/test3 HTTP/1.1
Authorization: YOUR-KEY

A larger example of setting TestDkLookupPerson

 1006713360; Tordis; Andersen; Mengvej 91;; 6094; Hejls |
1704534279; Tore; Frandsen; Eskjærvej 6; Eskjær; 7870; Roslev |
0210272659; Torgni; Jensen; Jættehøjen 57; ; 8240; Risskov |
2712771986; Tienna; Nørgaard; Sundbakken 31; ; 5700; Svendborg |
2904700972; Telse; Karlsen; Søndergårds Allé 103, 2. mf; ; 2760; Måløv |
0601811883; Thorleif; johansen; Flensborgvej 120; Broderup Mark; 6360; Tinglev |
2212464023; Thorkel; Klaussen; Skolegade 10A, st. tv; ; 9300; Sæby |
0302302789; Tibor; Thomsen; Gydebakken 9; ; 3520; Farum |
0811701213; Tor; Kjeldsen; Øster Hessel 40; Løjt Kirkeby; 6200; Aabenraa |
2111681540; Telse; Overgaard; Torvet 17; ; 9370; Hals |
2407083223; Theiss; Martinssen; Hovedvejen 119; ; 4720; Præstø |
0106630729; Thorgny; Lund; Havremarksvej 6; ; 8462; Harlev J |
0303604427; Trohn; Mikkelsen; Kålagervej 10; ; 2300; København S |
1907682937; Taj; Toft; Kåvervej 2; Sønderho; 6720; Fanø |
0901091456; Tinella; Steffensen; Coldingvej 304; ; 8732; Hovedgård |
2601932820; Thilde; Mortensen; Vestervænget 27; Vonsild; 6000; Kolding |
2911482523; Tordur; Klaussen; Skallevænget 5; ; 4760; Vordingborg |
1408082812; Thilda; Lind; Allegade 21 G; ; 2000; FREDERIKSBERG |
1511193108; Tonya; Bertelsen; Sundbakken 32; ; 5700; Svendborg |
0811723318; Thuri; Hermanssen; Luthersvej 47, st. tv; ; 7000; Fredericia |
0608914472; Trude; Berg; Mengvej 91;; 6094; Hejls |
1204001139; Tito; Kristoffersen; Eskjærvej 6; Eskjær; 7870; Roslev |
2202132121; Thom; Gregersen; Jættehøjen 57; ; 8240; Risskov |
1904450040; Tina; Danielsen; Sundbakken 31; ; 5700; Svendborg |
1306012191; Tade; Holm; Søndergårds Allé 103, 2. mf; ; 2760; Måløv |
1201050866; Tiina; Bach; Flensborgvej 120; Broderup Mark; 6360; Tinglev |
1607501608; Tescha; Lassen; Skolegade 10A, st. tv; ; 9300; Sæby |
1602491595; Tomas; Madsen; Gydebakken 9; ; 3520; Farum |
2804974109; Tau; Skov; Øster Hessel 40; Løjt Kirkeby; 6200; Aabenraa |
0407773967; Torkel; Kristoffersen; Torvet 17; ; 9370; Hals |
0803632190; Thinka; Schou; Hovedvejen 119; ; 4720; Præstø |
2801944295; Tommy; Nissen; Havremarksvej 6; ; 8462; Harlev J |
0412824428; Thine; Hansen; Kålagervej 10; ; 2300; København S |
0505250721; Tano; Holm; Kåvervej 2; Sønderho; 6720; Fanø |
1007431032; Trinke; Ravn; Coldingvej 304; ; 8732; Hovedgård |
2109072989; Torlif; Vestergaard; Vestervænget 27; Vonsild; 6000; Kolding |
0809300526; Thenna; Nissen; Skallevænget 5; ; 4760; Vordingborg |
1312462968; Tinnie; Gregersen; Allegade 21 G; ; 2000; FREDERIKSBERG |
2802620565; Thonny; Olsen; Sundbakken 32; ; 5700; Svendborg |
0209412403; Tem; Johansen; Luthersvej 47, st. tv; ; 7000; Fredericia |
0311614054; Thenna; Thorsen; Nørregade 6D; ; 9850; Hirtshals |
1005564890; Tiane; Hermansen; Enghavevej 7; Hvidbjerg; 7790; Thyholm |
0201930856; Tonita; Christensen; Svalevej 36; ; 7900; Nykøbing M |
1412421244; Thyra; Toft; Vardevej 18; Sig; 6800; Varde |
1003871732; Tiffany; Frandsen; Dyrskuevej 27, 2. 3; ; 9200; Aalborg SV |
1101422715; Tage; Østergaard; Holmstrupgårdvej 223; Holmstrup; 8210; Aarhus V |
2601771350; Tula; Søndergaard; Nygade 1A, 3.; ; 7400; Herning |
2906220615; Torjus; Bang; Industrivænget 2,2 tv; ; 9000; Aalborg |
3112383728; Traita; Whinter; Boulevarden 101,1 mf; ; 6800; Varde |
1906541690; Tiffanie; Lauridsen; Svinget 50; ; 9000; Aalborg |
1210000893; Trond; Hansen; Vestervænget 27; Vonsild; 6000; Kolding |
2505732851; Thorgot; Frederiksen; Skallevænget 6; ; 4760; Vordingborg |
0411131192; Tiane; Simonsen; Allegade 22 G; ; 2000; FREDERIKSBERG |
2309921960; Teresia; Mogensen; Sundbakken 33; ; 5700; Svendborg |
2912200759; Tyge; Bak; Luthersvej 48, st. tv; ; 7000; Fredericia |
2801473971; Thonny; Ravn; Nørregade 7D; ; 9850; Hirtshals |
0902452714; Tia; Danielsen; Enghavevej 8; Hvidbjerg; 7790; Thyholm |
1612541131; Tito; Dam; Svalevej 37; ; 7900; Nykøbing M |
2011153735; Thorkel; Thorsen; Vardevej 19; Sig; 6800; Varde |
1512042099; Toste; Skov; Dyrskuevej 28, 2. 3; ; 9200; Aalborg SV |
2309803923; Thorer; Davidsen; Holmstrupgårdvej 224; Holmstrup; 8210; Aarhus V |
0106011626; Tanya; Laursen; Nygade 2A, 3.; ; 7400; Herning |
0608954623; Thorgrim; Winther; Industrivænget 3,2 tv; ; 9000; Aalborg |
1506873323; Thommy; Danielsen; Boulevarden 102,1 mf; ; 6800; Varde |
2102833274; Tabitta; Frederiksen; Svinget 51; ; 9000; Aalborg

A larger example of setting TestSeLookupPerson

195801082743; Carin; Isberg; ;Högskulla gård; 84132; ÅNGE|
199412272396; Elvin Häll; ;Ekberg;Åleby gård; 77435; ALVESTA|
200304281033; Gunnar; Sträng; Rissneleden 41; _; 17444; Solna|
198505067031; Sebastian ; Bengtsson; No address 91;; 6094; Hejls |

196503070895; Hamid; Forsberg; No address 6; Eskjær; 7870; Roslev |

195903082575; Johan; Svensson; No address 57; ; 8240; Risskov |

197607101347; Carolina; Blom; No address 31; ; 5700; Svendborg |
198011228049; Görel; Nordin;Vänersängen 23; Mantorp;57431; VETLANDA |
198511073143; Tova; Palmér;Drageryd 31 ;Mellangård ; 29393; OLOFSTRÖM|
196905076045; Elinor; Benjaminsson; Arnåsholm 89;Torshill;44350; LERUM|
197408226483; Marika; Widén; Forsbomsgatan 67;Gården; 81231; STORVIK|
196901263639; Tordis; Andersen; Mengvej 91;Stugan; 6094; Sundbyberg |
195611111633; Tore; Frandsen; Eskjærvej 6; Eskjær; 7870; Karskoga |
198402243847; Torgni; Jensen; Jættehøjen 57;Koberg; 8240; Örebro |
197607202186; Tienna; Nørgaard; Sundbakken 31;; 5700; Svedala |
196904113823; Telse; Karlsen; Søndergårds Allé 103, 2. mf; _; 2760; Mora |
197908236479; Thorkel; Klaussen; Skolegade 10A, st. tv; _; 9300; Orsa |
190011028495; Tibor; Thomsen; Gydebakken 9; _; 3520; Farum |
198404039235; Theiss; Martinssen; Hovedvejen 119; _; 4720; Gällivare |
201005108129; Trohn; Mikkelsen; Kålagervej 10; _; 12345; Malmö |
201203096910; Anders; Olsson; Kålagervej 102 ; _;12345; Solna|
201811095361; Lars; Paulin; Kålagervej 101;Jukkasjärvi; 98136; Kiruna |
200012190245; Rune; Skarst; Kålagervej 50; _; 2300; Stockholm |
200507077055; Anna; Aulin; Kålagervej 18; _; 2300; Skövde |
195601191264; Eva; Dahlin; Kålagervej 16; _; 2300; Österåker |
199312163380; Stina; Ceasar; Kålagervej 14; _; 2300; Helsinborg |
195907314230; Lousie; Berg; Kålagervej 12; Lillån; 2300; Karlskrona |
195802268895; Lars; Andersson ;Axel mårds väg 87;;97592; LULEÅ |
195802263839; Per; Axell ;Grimmeredsvägen 24D;;42669 ;VÄSTRA FRÖLUNDA |
200112016969; Ewa; Tierney ;Bergsträdgården 12, bv.;;41660; GÖTEBORG |
199205303366; Sara; Juchowicz ;Brännkyrkagatan 39;;11822 ;STOCKHOLM |
200112013487; Rebecca; Olö ;Fortunagatan 15;;55323; JÖNKÖPING |
198205307856; Abbas; Samir ;Hjortmossegatan 24 lgh 1207;;46151 ;TROLLHÄTTAN |
199205303366; Pasha; Shake;Hörnedalsg. 8 ;;632 22 ;ESKILSTUNA |
198204302551; Lars B; Andersson ;Axel mårds väg 88;;97592; LULEÅ |
198204305919; Per B; Axell ;Grimmeredsvägen 25D;;42669 ;VÄSTRA FRÖLUNDA |
198203302149; Ewa B; Tierney ;Bergsträdgården 13, bv.;;41660; GÖTEBORG |
198203308963; Sara B; Juchowicz ;Brännkyrkagatan 40;;11822 ;STOCKHOLM |
198203302263; Rebecca B; Olö ;Fortunagatan 16;;55323; JÖNKÖPING |
198203306454; Abbas B; Samir ;Hjortmossegatan 25 lgh 1207;;46151 ;TROLLHÄTTAN |
197203302893; Pasha B; Shake;Hörnedalsg. 9 ;;632 22 ;ESKILSTUNA |
197203157719; Lars C; Andersson ;Axel mårds väg 87;;97592; LULEÅ |
197203158774; Per C; Axell ;Grimmeredsvägen 24D;;42669 ;VÄSTRA FRÖLUNDA |
197203127985; Ewa C; Tierney ;Bergsträdgården 12, bv.;;41660; GÖTEBORG |
197203122929; Sara C; Juchowicz ;Brännkyrkagatan 39;;11822 ;STOCKHOLM |
197203123869; Rebecca C; Olö ;Fortunagatan 15;;55323; JÖNKÖPING |
200010014934; Abbas C; Samir ;Hjortmossegatan 24 lgh 1207;;46151 ;TROLLHÄTTAN |
200010019578; Pasha C; Shake;Hörnedalsg. 8 ;;632 22 ;ESKILSTUNA |
199506224477; Lars D; Andersson ;Axel mårds väg 87;;97592; LULEÅ |
199506229575; Per D; Axell ;Grimmeredsvägen 24D;;42669 ;VÄSTRA FRÖLUNDA |
198504240907; Ewa D; Tierney ;Bergsträdgården 12, bv.;;41660; GÖTEBORG |
198504243802; Sara D; Juchowicz ;Brännkyrkagatan 39;;11822 ;STOCKHOLM |
198504241426; Rebecca D; Olö ;Fortunagatan 15;;55323; JÖNKÖPING |
198403247375; Abbas D; Samir ;Hjortmossegatan 24 lgh 1207;;46151 ;TROLLHÄTTAN |
198403246484; Pasha D; Shake;Hörnedalsg. 8 ;;632 22 ;ESKILSTUNA