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
Upload sub-account KYC documents
POST
Base URL: /api/v1/subaccount/{parentId}/{customerId}/documentshttps://bloquo.mimicr.dev · provider: https://api.bloquo.ioUploads KYC identity documents for a sub-account. This endpoint accepts multipart form-data and supports multiple document types.
The customerId in the path must be a direct child of parentId. A 403 is returned if customer.ParentId != parentId.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
parentIdinteger<int64>required
customerIdinteger<int64>required
Body
application/jsonobjectrequired
Responses
201Documents uploaded successfully.
statusboolean
Example: trueresultobject
Show child attributes
customerIdinteger<int64>
Example: 123documentReferencesobject
Map of document type to storage reference.
messagestring | null