Hi @Seth_Duda, as yes, that is accurate and definitely something to consider given how our API behaves and how the drop-ins are set up.
Keeping these shortcomings in mind, as a workaround, I would recommend checking that both docs for the Business and the Controller have been reviewed and accepted but the Business Customer is still in a document status. Then using the <dwolla-document-upload> drop-in to collect the POA document.
To find the document verification status of the documents, you can make the following call to the API -
Request / Response example
GET https://api-sandbox.dwolla.com/customers/06a64a19-8f45-4c59-929c-3e747d16c5c2/documents
...
{
"_links": {
"self": {
"href": "https://api-sandbox.dwolla.com/customers/06a64a19-8f45-4c59-929c-3e747d16c5c2/documents",
"type": "application/vnd.dwolla.v1.hal+json",
"resource-type": "document"
}
},
"_embedded": {
"documents": [
{
"_links": {
"self": {
"href": "https://api-sandbox.dwolla.com/documents/9f62e773-fe95-45c7-bad0-274208b2ab1f",
"type": "application/vnd.dwolla.v1.hal+json",
"resource-type": "document"
}
},
"id": "9f62e773-fe95-45c7-bad0-274208b2ab1f",
"status": "reviewed",
"type": "license",
"created": "2024-06-10T21:50:13.000Z",
"documentVerificationStatus": "accepted"
},
{
"_links": {
"self": {
"href": "https://api-sandbox.dwolla.com/documents/6c84d16d-ba2e-4ab9-9fb5-39e9ea555991",
"type": "application/vnd.dwolla.v1.hal+json",
"resource-type": "document"
}
},
"id": "6c84d16d-ba2e-4ab9-9fb5-39e9ea555991",
"status": "reviewed",
"type": "other",
"created": "2024-06-10T21:50:19.000Z",
"documentVerificationStatus": "accepted"
}
]
},
"total": 2
}
This is what the <dwolla-document-upload> component looks like when all uploaded docs have been reviewed but Customer hasn’t been verified.
Hope this helps! Eventually, we do plan on making the API and drop-in behavior seamless and intuitive. However, as of right now, we recommend these workarounds in place of calling the API directly to upload a document.
Let us know if you have any questions!