Hi, everytime i click on process withdraw in my backend, it says could not call Dwolla’s API
How to solve this ?
Hi @Dip_Bhandari – would you able to check on your server if there’s a Dwolla error message when trying to make a call to the API?
Ah I see. The error message is a generic error message that is thrown anytime an API error is encountered by the PHP swagger SDK.
You should be able to catch the error and get the JSON response-body. You can try wrapping the request in a try/catch and display the error response by calling the getResponseBody() method.
Example:
try{
$new_customer = $customersApi->create([
//request_body
]);
} catch (Exception $e) {
echo 'Caught exception: ', $e->getResponseBody(), "\n";
}
As for the transfer that’s currently failing, is it a transfer from your main Dwolla account to a customer with this ID – 6bebcbf3-3a45-4621-89a8-92f22b1262bc? Email d****s@chi****es.com.
If so, it looks like the Customer is suspended due to their funding-source being blocklisted. I pulled the funding-source ID from your screenshot - 470cad68-8c41-486a-96af-687b5700c5c1. They will need to add a new funding-source once they are unsuspended. To unsuspend, please send an email with the ID of the customer and the reason to get them unsuspended to support@dwolla.com.
If that’s not the transfer you were trying to create in the screenshot, would you be able to share the Customer Id and funding-source Id involved in the transfer? This will help us look into our data and determine why the error is being thrown.
It is not working for other customers as well:
Could you check for this Customer ID: fdbbb363-ddba-4935-9d1c-63f452bf364c
Hi @Dip_Bhandari, this customer looks to be active with a verified bank attached. You should be able to transact with them! Were you able to extract the error response from the API request by calling the getResponseBody() method?
