Transfer is failing every time

I have added both the source and destination funding sources. But the transfer is failing with an unclear error message, is there any specific cause for this error?

{
“code”: “ValidationError”,
“message”: “Validation error(s) present. See embedded errors list for more details.”,
“_embedded”: {
“errors”: [
{
“code”: “NotAllowed”,
“message”: “Receiver cannot receive from sender.”,
“path”: “/_links/destination/href”,
“_links”: {}
}
]
}
}

Hi @Mahesh_Viraktamath

It would help if you can share the request body that triggered the error. This way we can look at the customer types and funding source types to determine the issue

This is the request payload -

{
“_links”: {
“source”: {
“href”: “https://api-sandbox.dwolla.com/funding-sources/1d2c4c7f-f9ea-4d64-996b-6a57de31961a
},
“destination”: {
“href”: “https://api-sandbox.dwolla.com/funding-sources/aa4449e3-cfba-45bc-a98a-2fca2b70f01b
}
},
“amount”: {
“currency”: “USD”,
“value”: “10.00”
}
}

Hi @Mahesh_Viraktamath

I see that request body’s source and destination are both to unverified customers, so this is the expected error as unverified customers can only transact with verified customers or the Dwolla Master Account balance.

For more information on customer types, you can check out our concept article found in the developer portal.