Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I just recently coded against the Dwolla API and against the reflector service. Assuming you have your own personal dwolla account, you can <a href="http://developers.dwolla.com/dev/token" rel="nofollow">generate a token to represent you here</a>. Since I'm not sure what language you're using, I'll assume php. It is likely you now have a code snippet like this:</p> <pre><code>$Dwolla = new DwollaRestClient(); $Dwolla-&gt;setToken("&lt;your personal generated token from above link&gt;"); $trans_id = $Dwolla-&gt;send("&lt;Your Personal 4 digit pin&gt;", "812-713-9234", 0.01, "Dwolla", "My sample transaction detail notes"); if(!$trans_id) { echo "Error: {$Dwolla-&gt;getError()} \n"; } else { echo "Sent transaction ID: {$trans_id} \n"; } </code></pre> <p>Please note to use this code sample you need to replace the 2 values surrounded in chevrons with the appropriate described values. Note: The account you are sending to denoted by "812-713-9234" is dwolla's reflector service.</p> <p>With this code sample, you will send a penny from your own account to the reflector service. After roughly 10 minutes the penny gets returned to your account. You <em>will</em> get a transaction ID each time it is successful. If it is not successful you will get an error code.</p> <p>If it helps, I got an error code the first time around with something about a non-valid SSN. It turns out I hadn't logged into my account for a while and I needed to confirm my SSN at dwolla.com, however initially I thought this was some error because the reflector service wasn't setup appropriately (since it's a fake service it wouldn't have a valid SSN associated with it).</p> <p>My understanding is the reflector service is for purely testing your end of things - not to verify what things look like inside the reflector account as far as transaction line item detail from the payee's perspective. If you look at the send() function in the dwolla API it does specify what all the variables you can pass are (this would tell you the level of data and details the transaction will store).</p> <p>As for specific error codes you can expect, they are documented with meanings here under the error codes section (expand if necessary): <a href="https://developers.dwolla.com/dev/docs/transactions/send" rel="nofollow">https://developers.dwolla.com/dev/docs/transactions/send</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload