Skip to content

Instantly share code, notes, and snippets.

@ramansah
Created January 3, 2020 08:54
Show Gist options
  • Save ramansah/9768ecb42a93ca7bfe833e13703fdcc0 to your computer and use it in GitHub Desktop.
Save ramansah/9768ecb42a93ca7bfe833e13703fdcc0 to your computer and use it in GitHub Desktop.
# 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