Get the list of avaible licenses for a given state, in case of your application allowing multiple types of licenses.
GET /licenses/:state
Parameter | Type | Description | Required |
---|---|---|---|
state |
String | The U.S state. | Yes |
[
"Accountancy",
"Architect",
"Automotive",
"Acupuncture",
"BAR",
"Behavior Science"
"Cosmetology",
"Chiropractic",
"Dental",
"Household",
"Landscape",
...
]
Get required fields from use to verify the license.
GET /licenses/:state/requirements/:license
Parameter | Type | Description | Required |
---|---|---|---|
state |
String | The U.S state. | Yes |
license |
String | License type. | Yes |
{
required : [
{
name : 'Juris Number', type : 'Number'
}
],
optional : [
{
name : 'First Name', type : "String"
},
{
name : 'Last Name', type : 'String'
}
]
}
Get current status of the license.
POST /order
Key | Type | Description | Required |
---|---|---|---|
state |
String | U.S State in which license is issued. | Yes |
license |
Object | Object with required and optional fields. | Yes |
licenseType |
String | Type of the license. | Yes |
callback |
String | URL to wich make a request to deliver the result of verification. | Yes |
payload |
Object | Object to attach to the callback's POST body. | Optional |
A callback is initiated to sepcified URL. In case of fail callback will be retried up to 3 times 15 min interval between.
{
"status": "Valid",
"dataMatch": "Full match"
}
"Valid"
License was located and it's currently active."Invalid"
License was located and it's currently not in the active state."Not found"
License was not found based on the data provided."Full match"
All optional fields match with the license data."Partial match"
Some optional fields matched but not all."Mismatch"
Provided optional data did not match with data on the license.
{
"status": "Valid",
"dataMatch": "Full match",
"payload" : {
"id" : 1,
.........
Your JSON object here.
}
}
{
"status": "Not found"
}
{
"status": "Valid",
"dataMatch": "Partial match"
}