Send a test event (production)
curl --request POST \
--url https://api.bullionwale.com/api/trading/v1/webhooks/{webhook_id}/test \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/v1/webhooks/{webhook_id}/test"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"delivery_id": "<string>",
"event_id": "<string>",
"status": "<string>"
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}Webhooks
Send a test event (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).
Not yet available. Webhooks are implemented but switched off: these endpoints answer 404 until Bullionwale turns them on.
Queues one webhook.test event to this webhook, signed like every other delivery. At most 5 per minute per webhook.
Send a test event (production)
curl --request POST \
--url https://api.bullionwale.com/api/trading/v1/webhooks/{webhook_id}/test \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.bullionwale.com/api/trading/v1/webhooks/{webhook_id}/test"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"delivery_id": "<string>",
"event_id": "<string>",
"status": "<string>"
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}{
"detail": {
"code": "<string>",
"message": "<string>"
}
}