Skip to navigation

Create a deposit

It creates a deposit either coming from a cryptocurrency external address or coming from a traditional bank transfer. In case of a deposit from an external exchange, you must provide the source. The reply contains the information about the new deposit when it has been created successfully.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
subAccountIdstringRequiredformat: "uuid"

Identifier of the sub-account that will be credited.

instrumentIdstringRequiredformat: "uuid"
Identifier of the instrument of the deposit.
declaredQuantitystringRequiredformat: "decimal"
Quantity of the deposit. Must be greater than zero.
sourceTypeenumRequired
externalAddressIdstringOptionalformat: "uuid"
Optional identifier of one of the external address of the account.
thirdPartyExchangeenumOptional
Allowed values:
bankAccountIdstringOptionalformat: "uuid"
Optional identifier of one of the bank account of the account.

Response

A successful response.
resultobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error