Created
January 3, 2020 08:54
-
-
Save ramansah/9768ecb42a93ca7bfe833e13703fdcc0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import VertoFX SDK | |
import verto_api | |
# Authenticate using access token | |
client = verto_api.login(access_token="xxx") | |
# Build an order | |
order_parameters = { | |
"currencyFrom": "USD", | |
"currencyTo": "GBP", | |
} | |
# Place order | |
order = client.place_order(order_params) | |
print(order.status) | |
# Order Placed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment