Hi Team,
We are using dwolla drop in components for creating a business verified customer and unverified customer. As per the API documentation, first UI application has to make a call to our API to get clientToken and use it to communicate with Dwolla API from front end application. As per the documentation, we need a customer ID as well for creating a client token for the customer creation. How do we get the customer ID upfront? As per my understanding, we get the customer ID upon customer creation success at Dwolla.
POST https://api-sandbox.dwolla.com/client-tokens
Accept: application/vnd.dwolla.v1.hal+json
Content-Type: application/json
Authorization: Bearer {{token}}
{
"action": "customer.create”,
"_links": {
“customer”: {
“href”: “https://api-sandbox.dwolla.com/customers/{{customerId}}”
}
}
}