curl --location --request POST 'https://api.veriflow.me/v2/poa' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"document": "string",
"expectedAddress": "string",
"expectedCountry": "string",
"expectedFirstName": "string",
"expectedLastName": "string",
"poaLanguagesAllowed": "string",
"poaDocumentAgeMonths": "string",
"metadata": null,
"poaNameMismatchAction": "NO_ACTION",
"poaDocumentIssuesAction": "NO_ACTION",
"poaDocumentAuthenticityAction": "NO_ACTION",
"poaUnsupportedLanguageAction": "NO_ACTION",
"poaAddressMismatchAction": "NO_ACTION",
"poaIssuerNotIdentifiedAction": "NO_ACTION"
}'{
"success": true,
"payload": {
"request": {
"id": "string",
"organizationId": "string",
"type": "string",
"status": "string",
"createdAt": "string",
"updatedAt": "string",
"cost": 0,
"info": {
"metadata": null,
"init": {
"document": "string",
"expectedAddress": "string",
"expectedCountry": "string",
"expectedFirstName": "string",
"expectedLastName": "string",
"poaLanguagesAllowed": "string",
"poaDocumentAgeMonths": "string",
"metadata": null,
"poaNameMismatchAction": "NO_ACTION",
"poaDocumentIssuesAction": "NO_ACTION",
"poaDocumentAuthenticityAction": "NO_ACTION",
"poaUnsupportedLanguageAction": "NO_ACTION",
"poaAddressMismatchAction": "NO_ACTION",
"poaIssuerNotIdentifiedAction": "NO_ACTION"
},
"response": {
"status": "string",
"documentFile": "http://example.com",
"issuingState": "string",
"documentType": "string",
"documentLanguage": "string",
"documentMetadata": null,
"issuer": "string",
"issueDate": "string",
"poaAddress": "string",
"poaFormattedAddress": "string",
"expectedDetailsAddress": null,
"expectedDetailsFormattedAddress": null,
"expectedDetailsParsedAddress": {},
"extraFields": {
"property1": null,
"property2": null
},
"extraFiles": [
"http://example.com"
],
"warnings": [
{
"feature": "string",
"risk": "string",
"additionalData": null,
"logType": "string",
"shortDescription": "string",
"longDescription": "string"
}
],
"poaParsedAddress": {
"id": "string",
"rawResults": null,
"addressType": "string",
"city": "string",
"label": "string",
"region": "string",
"street1": "string",
"street2": "string",
"postalCode": "string",
"country": "string",
"documentLocation": {
"latitude": 0,
"longitude": 0
}
}
}
}
}
}
}