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
Authenticate (server-to-server)
POST
Base URL: /api/v1/auth/authenticateServerhttps://bloquo.mimicr.dev · provider: https://api.bloquo.ioObtains a JWT access token using API client credentials (clientId + clientSecret). Use this for server-to-server integrations where there is no human user involved.
The returned accessToken must be included in the Authorization: Bearer <token> header on all subsequent requests.
Tokens expire after the duration indicated in expiresIn. Re-authenticate when the token expires - server-to-server tokens do not have a refresh token.
Authorization
Public route, no token.
Body
application/jsonclientIdstringrequired
API client ID provided by Bloquo.
"my-app-client-id"clientSecretstringrequired
API client secret provided by Bloquo.
"my-app-client-secret"Responses
200Authentication successful.
statusboolean
Example: trueresultobject
Show child attributes
accessTokenstring
JWT access token. Include in Authorization, Bearer <token> on all subsequent requests.
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."expiresIninteger
Token lifetime in seconds.
3600tokenTypestring
Example: "Bearer"messagestring | null
401Invalid client credentials.
statusboolean
resultany | null
messagestring