{"swagger":"2.0","info":{"version":"v1","title":"ZignSec"},"host":"api.zignsec.com","schemes":["https"],"paths":{"/v2/api/test":{"get":{"tags":["TestApi"],"operationId":"TestApi_Test","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v2/webflow/{clientId}":{"post":{"tags":["WebflowApi"],"summary":"Starts web flow.\r\n            \r\nCORS allowd for every user so any customer can use it from their own site.","operationId":"WebflowApi_StartWebflow","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"model","in":"body","required":true,"schema":{"$ref":"#/definitions/ApiDataModel"}},{"name":"clientId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v2/api/websdk/tokens":{"post":{"tags":["WebSdkApi"],"operationId":"WebSdkApi_IssueWebSdkTokenAsync","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"expiresInSeconds","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v2/api/websdk/tokens/{token}":{"delete":{"tags":["WebSdkApi"],"operationId":"WebSdkApi_RevokeWebSdkTokenAsync","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"token","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/v2/api/websdk/flow":{"post":{"tags":["WebSdkApi"],"summary":"Starts WebSdk flow.\r\nCORS allowd for every user so any customer can use it from their own site.","operationId":"WebSdkApi_StartWebSdkFlow","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}}},"definitions":{"ApiDataModel":{"description":"XX basic-specifika json-parametrar, alla plugins här...","type":"object","properties":{"CountryCode":{"format":"int32","type":"integer"},"Phone":{"type":"string"},"verify_code":{"type":"string"},"Address":{"$ref":"#/definitions/AddressModel"},"PersonalNumber":{"type":"string"},"BankIdentifier":{"type":"string"},"DateOfBirth":{"type":"string"},"Email":{"type":"string"},"Identity":{"$ref":"#/definitions/IdentityModel"},"Service":{"type":"string"},"AuthFinishedCallback":{"type":"string"},"AskForCpr":{"type":"boolean"},"AskForCprCallback":{"type":"string"},"TypeOfScan":{"type":"string"},"VerifyIDWithSelfie":{"type":"string"},"IncludeOCR":{"type":"boolean"},"DemoSessionId":{"type":"string"},"AllowRetries":{"description":"Allow retry if all previous login attempts were failed","type":"boolean"},"requirement":{"type":"object","additionalProperties":{"type":"object"}},"login_hint":{"type":"string"},"Language":{"type":"string"},"Type":{"type":"string"},"IP":{"type":"string"},"Config":{"$ref":"#/definitions/Config"},"Method":{"type":"string"},"Username":{"type":"string"},"ConfigId":{"type":"string"},"Layout":{"type":"string"},"Target":{"type":"string"},"TargetError":{"type":"string"},"Relaystate":{"type":"string"},"Hosted":{"type":"boolean"},"SAML":{"type":"boolean"},"TestData":{"type":"string"},"UserVisibleData":{"type":"string"},"UserNonVisibleData":{"type":"string"},"LookupPersonAddress":{"type":"boolean"},"LookupPersonAddressWhenMissing":{"type":"boolean"},"Webhook":{"type":"string"},"Webhook_Email":{"type":"string"},"MockBankIDSE":{"type":"string"},"Environment":{"type":"string"},"Additional_identity_info":{"type":"boolean"},"Custom":{"type":"array","items":{"$ref":"#/definitions/Custom"}}}},"AddressModel":{"type":"object","properties":{"PersonStatus":{"type":"string"},"Gender":{"type":"string"},"MainFirstName":{"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"DateOfBirth":{"type":"string"},"BirthYear":{"format":"int32","type":"integer"},"BirthMonth":{"format":"int32","type":"integer"},"BirthDayOfMonth":{"format":"int32","type":"integer"},"Age":{"format":"int32","type":"integer"},"PersonalNumber":{"type":"string"},"Address":{"type":"string"},"Address2":{"type":"string"},"PostalCode":{"type":"string"},"Location":{"type":"string"},"City":{"type":"string"},"Municipality":{"type":"string"},"Province":{"type":"string"},"CountryCode":{"type":"string"},"Phone":{"type":"string"},"Email":{"type":"string"},"PhoneNumbers":{"type":"array","items":{"type":"string"}},"_DataSource":{"type":"string"},"Url":{"type":"string"},"FullName":{"type":"string","readOnly":true}}},"IdentityModel":{"type":"object","properties":{"CountryCode":{"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"FullName":{"type":"string"},"PersonalNumber":{"type":"string"},"DateOfBirth":{"type":"string"},"Age":{"format":"int32","type":"integer"},"Gender":{"type":"string"},"Phone":{"type":"string"},"Email":{"type":"string"},"AddressInfoRaw":{"type":"string"},"ResultReportPdf":{"type":"string"},"IdProviderName":{"type":"string"},"IdentificationDate":{"format":"date-time","type":"string"},"IdProviderRequestId":{"type":"string"},"IdProviderPersonId":{"type":"string"},"CustomerPersonId":{"type":"string"},"IdProviderAuthenticityScore":{"format":"int32","enum":[0,1,2,3],"type":"integer"}}},"Config":{"description":"XX sms-specifika settings... finns dokumenterad i docs.","type":"object","properties":{"MessageText":{"type":"string"},"Sender":{"type":"string"}}},"Custom":{"type":"object","properties":{"Name":{"type":"string"},"Data":{"type":"string"}}}}}