Who am I (production)
curl --request GET \
--url https://api.bullionwale.com/api/trading/v1/me \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/v1/me"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"environment": "<string>",
"key_id": "<string>",
"key_name": "<string>",
"login_id": "<string>",
"production_trading_available": true,
"scopes": [
"<string>"
],
"firm_name": "<string>"
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}Production environment
Who am I (production)
Switched off. Production trading is implemented but not available: orders are refused with 403 production_trading_disabled. Once it opens, Bullionwale enables production access per account (see Production access requirements).
The account and key behind X-API-Key.
Who am I (production)
curl --request GET \
--url https://api.bullionwale.com/api/trading/v1/me \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/v1/me"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"environment": "<string>",
"key_id": "<string>",
"key_name": "<string>",
"login_id": "<string>",
"production_trading_available": true,
"scopes": [
"<string>"
],
"firm_name": "<string>"
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
Response
Successful Response
test or production.
Whether this account can place production orders right now: Bullionwale's production switches are on, your account's API access is on and production trading is enabled for your account. The same answer on the test and production APIs. It is a hint, not a promise: every order is checked again, in full, when it is placed.