Use this method to deposit funds from a bank account, and into a Dwolla account for the user with the given authorized access token.
HTTP Method: POST
Scope Required: 'Funding'
Requires Authentication: YES
https://www.dwolla.com/oauth/rest/fundingsources/{funding_id}/deposit
Request
Response
(click Submit to query the API)
| |
Param |
Description |
| * |
oauth_token |
A valid OAuth token |
| * |
funding_id |
ID of funding source from which to deposit funds.
|
| * |
pin |
User's PIN associated with their account
|
| * |
amount |
Amount of funds to deposit from funding source.
|
POST https://www.dwolla.com/oauth/rest/fundingsources/{funding_id}/deposit
Content-Type: 'application/json'
{
"oauth_token": "",
"pin": "",
"amount": ""
}
{"Success":true,"Message":"Success","Response":{"Id":9999999,"Amount":10,"Date":"11/16/2012 8:01:55 PM","Type":"deposit","UserType":null,"DestinationId":"812-111-1111","DestinationName":"Dwolla Koala","SourceId":"XXXXX-1","SourceName":"Veridian Credit Union","ClearingDate":"11/16/2012","Status":"pending","Notes":null}}
| Literal String |
Explanation |
| "Invalid funding source." |
The funding source specified is either empty or invalid. |
| "Invalid financial institution." |
Could not find a funding source with the given ID. |
| "The amount supplied is invalid." |
The amount parameter is either missing, empty, or invalid (contains illegal characters). |
| "The amount is too small. Please send at least $1.00." |
The minimum deposit amount is $1.00. Please adjust the deposit amount. |
| "The account is limited to {...} per transaction" |
The maximum amount per deposit for this account is {…}. Please adjust the deposit amount. |
| "Access token is empty." |
No OAuth access token has been supplied. |
| "Invalid access token." |
The OAuth access token supplied is invalid or incorrect. |
| "Token does not have access to requested resource. Token must have {...} scope access." |
The given OAuth token does not have access to the requested scope used. Please review the scopes list. |
| "Invalid account status for user of this access token." |
The account associated with the given OAuth token is in an invalid status. |
| "Application is either not verified or suspended." |
The application used to generate the OAuth token has been unverified or suspended. |
| "Account temporarily locked" |
Too many failed attempts have been made to access this account. The account has been temporarily locked for 30 minutes. |
| "Unexpected error has occurred." |
Something unexpected happened. It has been logged on our end and will be reviewed shortly. |
Literal strings returned in the API do no include the quotation marks used above.