-
Hi there, I was working on trying to set up a payment request through the API and I'm getting a 400 error (copied below). I'm able to connect and search for users but I get an error on trying to send a request for money? Any suggestions are greatly appreciated!! code Error Code |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The string you've provided is an username, you'll need their user ID to request money. You can search for the user, or use |
Beta Was this translation helpful? Give feedback.
The string you've provided is an username, you'll need their user ID to request money. You can search for the user, or use
client.user.get_user_by_username("the username of the user you're looking for")
. This method may returnNone
if it can't find the user.Read more here: https://github.com/mmohades/Venmo/blob/master/venmo_api/apis/user_api.py#L92