Change a webhook (test)
curl --request PATCH \
--url https://api.bullionwale.com/api/trading/test/v1/webhooks/{webhook_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"active": true,
"description": "<string>",
"events": [
"<string>"
],
"url": "<string>"
}
'import requests
url = "https://api.bullionwale.com/api/trading/test/v1/webhooks/{webhook_id}"
payload = {
"active": True,
"description": "<string>",
"events": ["<string>"],
"url": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"active": true,
"environment": "<string>",
"events": [
"<string>"
],
"id": "<string>",
"secret_last4": "<string>",
"url": "<string>",
"created_at": "<string>",
"description": "<string>",
"updated_at": "<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
Change a webhook (test)
Available on request. Ask the Bullionwale desk to turn on API access for your account and issue a test key. Test orders are simulated; nothing is booked.
Not yet available. Webhooks are implemented but switched off: these endpoints answer 404 until Bullionwale turns them on.
Change the URL, the events, the description, or pause it (active: false). Send only the fields to change.
Change a webhook (test)
curl --request PATCH \
--url https://api.bullionwale.com/api/trading/test/v1/webhooks/{webhook_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"active": true,
"description": "<string>",
"events": [
"<string>"
],
"url": "<string>"
}
'import requests
url = "https://api.bullionwale.com/api/trading/test/v1/webhooks/{webhook_id}"
payload = {
"active": True,
"description": "<string>",
"events": ["<string>"],
"url": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"active": true,
"environment": "<string>",
"events": [
"<string>"
],
"id": "<string>",
"secret_last4": "<string>",
"url": "<string>",
"created_at": "<string>",
"description": "<string>",
"updated_at": "<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>"
}
}Authorizations
Path Parameters
Body
application/json
Response
Successful Response