Invalid funding source provided


(Michael Schultz) #1

Approx. 2016-06-24 17:11:07 I was using the .php Dwolla\fundingSources() API to retrieve funding sources:

Array
(
[0] => Array
(
[Id] => Balance
[Name] => My Dwolla Balance
[Type] =>
[Verified] => 1
[ProcessingType] =>
)
[1] => Array
(
[Id] => 33cac124c45cc8a93b4dda64ed09a6e1
[Name] => Checking - Checking
[Type] => Checking
[Verified] =>
[ProcessingType] => ACH
)
)

Then I do:

$transaction = new Dwolla\Transactions();
$transaction->settings->sandbox = false;
$transaction->settings->oauth_token = $accessToken;
$transaction->settings->pin = $pin;

$transactionId = $transaction->send($dwolla_account,
      $amount,
      ['destinationType' => 'Dwolla',
       'fundsSource' => '33cac124c45cc8a93b4dda64ed09a6e1' ]);

I get this response:

Array
(
[Error] => Invalid funding source provided: 33cac124c45cc8a93b4dda64ed09a6e1
)

When there’s only 1 funding source, I haven’t run into this problem. I Don’t know if the fact that there’s 2 sources here is somehow causing a problem? Or the fact that the one i’m trying to access isn’t ‘verified’? Is there some documentation I’m missing?


(Spencer Hunter) #2

@Michael_Schultz, Do you have the Dwolla id or account Id of the Dwolla account you are attempting to send funds from?