Skip to content

POST /orders on a specific account? #4

@jaubuchon

Description

@jaubuchon

Hi,

First, thank you for having taking the time to document this API and made it public!

(This is not an issue but a question, not sure how on github we can post question)

Would like to know if you have figure out how to submit an order for a a specific account.

Tried different things but without success (ie: adding "account_id": "xxxxxx" to the request body).

If it can help, by adding "account_id=xxx" to the activity url, this is allowing me to successfully filter activities by account id. Per example: https://trade-service.wealthsimple.com/account/activities?account_id=xxxxxx

Also, would be interested to understand how you were able to reverse engineer this api. Tried with "Burp Suite" (https://blog.haschek.at/2018/reverse-engineering-your-mobile-banking-app.html), but I ended up to the conclusion that Wealthsimple was doing "Certificate pinning", so not possible to do a man-to-the-middle (at least, not without jailbreaking by iphone).

And finally, would be interested to know how to authenticate when 2-factor authentication is enabled.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions