API Reference
Authentication and referencePOSTAuthenticate (server-to-server)GETList currenciesGETList blockchainsGETList customer typesGETWebhook signing public key
CustomersGETGet current customerPOSTCreate customerGETGet customerPUTUpdate customerDELDelete customerGETList sub-accountsGETGet liquidity capabilitiesGETList liquidity capability valuesPOSTCreate sub-accountPOSTUpload sub-account KYC documents
AccountsPOSTCreate accountGETList accountsGETGet accountPUTUpdate accountDELDelete accountGETGet customer balancesGETGet account balanceGETGet fee configurationGETList named accounts
Deposits and withdrawalsPOSTCreate deposit orderPOSTRequest deposit refundGETList deposit ordersGETList child deposit ordersPOSTCreate withdrawal orderGETList withdrawal ordersGETList child withdrawal orders
TradePOSTCreate currency pairGETList currency pairsPUTUpdate currency pairDELDelete currency pairPOSTRequest quotePOSTRequest direct quotePUTExecute tradePOSTCreate trade orderGETList trade ordersGETList child trade ordersDELCancel trade order
Counterparties and FX paymentsPOSTCreate counterpartyGETList counterpartiesGETGet counterpartyPUTUpdate counterpartyDELDelete counterpartyGETList customer–counterparty relationsGETGet customer–counterparty relationPOSTAdd wallet to whitelistGETList whitelisted walletsDELRemove whitelisted walletPOSTCreate FX payment orderGETList FX payment ordersGETList child FX payment ordersGETGet FX payment orderGETGet FX payment order history
Update notification webhook URL
PUT
Base URL: /api/v1/customer/{customerId}/notification/preferencehttps://bloquo.mimicr.dev · provider: https://api.bloquo.ioUpdates the webhook URL for all notification preferences of this customer. This replaces the URL globally, all notification types will be sent to the new URL.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
customerIdinteger<int64>required
Body
application/jsonwebhookUrlstringrequired
New webhook URL to apply to all preferences for this customer.
"https://api.acme.com/webhooks/bloquo-v2"Responses
200Webhook URL updated for all preferences.
statusboolean
Example: trueresultstring
Example: "Preference updated successfully."messageany | null
400Failed to update preferences.
statusboolean
resultany | null
messagestring