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
Get current customer
GET
Base URL: /api/v1/customer/mehttps://bloquo.mimicr.dev · provider: https://api.bloquo.ioReturns the customer profile associated with the authenticated token. Useful for resolving the customerId of the calling client without requiring it to be stored externally.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Responses
200Authenticated customer profile.
statusboolean
Example: truestatusCodeinteger
Example: 200resultobject
Show child attributes
idinteger<int64>
Example: 42typeIdinteger<int64>
ID of the customer type (see GET /api/v1/customer/types).
3namestring
Example: "Acme Corp Ltda"taxIdstring
Example: "12.345.678/0001-90"countrystring
Example: "BR"parentIdinteger<int64> | null
Example: 1childEnabledboolean
Example: falsechildLoginAllowedboolean
Whether sub-customer users can log in through this customer's portal.
falsechildDepthinteger
Current depth of this customer in the hierarchy (root = 0).
1maxChildDepthinteger | null
Example: 1liquidityOperationsCapabilitiesinteger
Bitmask of liquidity operations this customer is allowed to perform.
3platformModulesinteger
Bitmask of platform modules enabled for this customer.
7enabledboolean
Example: truetypeobject
Customer type details. Present only when includes=type is requested.
Show child attributes
idinteger<int64>
Example: 1namestring
Example: "EndCustomer"createdBystring
Example: "admin"lastUpdatedBystring
Example: "admin"createdAtstring<date-time>
Example: "2024-01-15T10:30:00Z"lastUpdatedAtstring<date-time>
Example: "2024-01-15T10:30:00Z"messagestring | null