Unable to get my account balance


(Daniel Teleginski Camargo) #1

According to the documentation, the API should return the following information about your account:

{
"_links": {
“self”: {
“href”: “https://api-sandbox.dwolla.com/accounts/ca32853c-48fa-40be-ae75-77b37504581b
},
“receive”: {
“href”: “https://api-sandbox.dwolla.com/transfers
},
“funding-sources”: {
“href”: “https://api-sandbox.dwolla.com/accounts/ca32853c-48fa-40be-ae75-77b37504581b/funding-sources
},
“transfers”: {
“href”: “https://api-sandbox.dwolla.com/accounts/ca32853c-48fa-40be-ae75-77b37504581b/transfers
},
“customers”: {
“href”: “https://api-sandbox.dwolla.com/customers
},
“send”: {
“href”: “https://api-sandbox.dwolla.com/transfers
}
},
“id”: “ca32853c-48fa-40be-ae75-77b37504581b”,
“name”: “Jane Doe”
}

However I am only seeing:

{
"_links": {
“self”: {
“href”: “https://api-sandbox.dwolla.com/accounts/ca32853c-48fa-40be-ae75-77b37504581b
},
“receive”: {
“href”: “https://api-sandbox.dwolla.com/transfers
},
“transfers”: {
“href”: “https://api-sandbox.dwolla.com/accounts/ca32853c-48fa-40be-ae75-77b37504581b/transfers
},
“send”: {
“href”: “https://api-sandbox.dwolla.com/transfers
}
},
“id”: “ca32853c-48fa-40be-ae75-77b37504581b”,
“name”: “Jane Doe”
}

Ultimately, I would like to be able to see the Balance in my wallet. The same one that appears here:


(Spencer Hunter) #2

Hi @danielcamargo, Can you provide the account Id for the account you’re using to test or the application name? Links should suggest resources and actions available based on the current OAuth context. If a funding-sources link is not returned then I am assuming that this account hasn’t granted the application the Funding permission (scope).


(Daniel Teleginski Camargo) #4

It turned out that I was not specifying the Funding scope when getting the token. Thank you!