hi there, I’m trying to post this request from a account balance funding source to a customer funding source:
{“_links”=>{“source”=>{“href”=>“https://api-sandbox.dwolla.com/funding-sources/a9e9f7dd-fe1a-4e05-82b6-d101141f39cf/balance”}, “destination”=>{“href”=>“https://api-sandbox.dwolla.com/funding-sources/f82091a7-7031-4931-b6f5-213cdfe0988e”}}, “amount”=>{“currency”=>“USD”, “value”=>“12.12”}}
and it’s returning: DwollaV2::BadRequestError: {“code”=>“BadRequest”, “message”=>“The request body contains bad syntax or is incomplete.”}
I’ve previously tried processingChannel destinations, and other meta data, but they all seem to fail. is there a way to get more verbose errors?
event an exact copy from the transfer docs shows the same error, eg (with my funding sources):
transfer_request = {
:_links => {
:source => {
:href => "https://api-sandbox.dwolla.com/funding-sources/a9e9f7dd-fe1a-4e05-82b6-d101141f39cf/balance"
},
:destination => {
:href => "https://api-sandbox.dwolla.com/funding-sources/f82091a7-7031-4931-b6f5-213cdfe0988e"
}
},
:amount => {
:currency => "USD",
:value => "225.00"
}
}
transfer = app_token.post "transfers", transfer_request
this also provides the same error