Testing Transfer


(Alex L. Arias) #1

So, for testing transfers, I create:
customer1 - OK
customer2 - OK
funding source1 for customer1 - OK
funding source2 for customer2 - OK

Verify both funding sources.
So, all customers and funding sources are verified.

Then I try to create transfer from funding source1 to funding source2 (this is allowed in docs).

But I get “Invalid funding source” and no other description.

How I can emulate transfer from one funding source to other funding source? May be I need to use some special data?


(Spencer Hunter) #2

@aeria, Can you provide an example of the request body you are specifying in this particular request? From there I can tell what could be causing the “Invalid funding source” error. The error response should contain a pointer to the particular funding source in question that is invalid.


(Minh Nguyễn Công) #3

I have got the same issue, this is my request body:
var requestBody = {
_links: {
source: {
href: ‘https://api-uat.dwolla.com/funding-sources/74c8e8d8-949f-4b3f-b5fc-690a28fea7e3
},
destination: {
href: ‘https://api-uat.dwolla.com/customers/9c5e5cc8-73c1-44ac-9bde-c9e53d6ac62d
}
},
amount: {
currency: ‘USD’,
value: 5
},
metadata: {
paymentId: ‘22231-323-222-312’,
note: ‘Cash out!’
}
};