"The user to send to could not be found" when using API, using an e-mail identifier

StackOverflow https://stackoverflow.com/questions/18688918

  •  28-06-2022
  •  | 
  •  

質問

for example this query:

curl -H "Content-Type: application/json" \
-d '{"oauth_token": "...","pin": "....","destinationId": "reflector@dwolla.com","amount":"0.5","fundsSource":"..."}' \
https://www.dwolla.com/oauth/rest/transactions/send

returns the following error:

"Success":false,"Message":"The user to send to could not be found.","Response":null

I also tried with a confirmed user account. I can send money using a dwolla number ID, but when using an e-mail I see the error The user to send to could not be found.

Why is this happening?

役に立ちましたか?

解決

You need to specify the "destinationType" if "destinationId" is anything other than a Dwolla account key.

Possible values: 'Dwolla', 'Facebook', 'Twitter', 'Email', 'Phone' Defaults to: 'Dwolla'

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top