I’m new to the Dwolla API and am trying to get some basic functionality working in my company’s application. We are currently using the co-branded solution (Account).
I am able to authenticate using the oauth interface successfully, and subsequently have successfully managed to retrieve and list funding sources for an account. What is not working for me is creating a funding source. I have examined the data I’m sending over and over and it appears to be exactly in the same format as specified by: https://docsv2.dwolla.com/#create-a-funding-source-for-an-account
I have also verified that my access_token and so forth is valid. Here is the data I try to send, which returns a 400 error. This is my test data (starting w/ the headers), which is being sent via HTTP POST to: https://api-uat.dwolla.com/funding-sources (the sandbox app url)
Authorization: Bearer 6W8Kis3THqRN5Ezetp1botXzREmeCz7dA0DM4s9ARMRxnM8yxe
As far as I can tell, the data looks fine to me, yet I continue to get a 400 error. I’d be extremely grateful if someone could help out. The application is written in PHP, and I am interfacing directly with the API endpoints using cURL. As I said, I am able to authenticate and list funding sources successfully. Thanks!