Hi,
I’m going through the document to initiate an ACH debit. I’m going through the steps and I can’t seem to create a funding source correctly.
-
Create customer:
http POST https://api-sandbox.dwolla.com/customers \ Content-Type:application/vnd.dwolla.v1.hal+json \ Accept:application/vnd.dwolla.v1.hal+json \ Authorization:"Bearer xxx" \ firstName="Jane" \ lastName="Doe" \ email="janeDoe@nomail.net" \ ipAddress="99.99.99.99" -
Add funding source:
http POST https://api-sandbox.dwolla.com/customers/5323bef8-f160-4b21-961f-ff9d9f95ad72 \ Content-Type:application/vnd.dwolla.v1.hal+json \ Accept:application/vnd.dwolla.v1.hal+json \ Authorization:"Bearer xxx" \ plaidToken=public-sandbox-xxx \ name="Jane Doe’s Checking" -
Ensure funding source is linked to customer:
http GET https://api-sandbox.dwolla.com/customers/5323bef8-f160-4b21-961f-ff9d9f95ad72/funding-sources \ Content-Type:application/vnd.dwolla.v1.hal+json \ Accept:application/vnd.dwolla.v1.hal+json \ Authorization:"Bearer xxx"
I unfortunately get an empty list below for “funding-sources”:
{
"_embedded": {
"funding-sources": []
},
"_links": {
"customer": { ... },
"self": { ... }
}
}