Create deposit transfer lots

Associates one or more cost-basis lots with a deposit for tax reporting. The lots are forwarded to the tax subsystem via the accounts service.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique identifier of the deposit — the deposit_id returned by the GET crypto deposits endpoints, which equals the movement_id returned by the GET deposits endpoint.

Body Params

The transfer lots to associate with the deposit.

string
length ≥ 1

Client-supplied idempotency key for the create request. When omitted, zerohash generates one. Reusing a request_id for the same deposit is rejected as a duplicate.

date-time

RFC3339 timestamp marking when the transfer lots take effect for tax reporting. Defaults to the deposit’s settlement time when omitted.

lots
array of objects
required
length ≥ 1

One or more cost-basis lots to associate with the deposit. At least one lot is required.

lots*
string
required

Quantity of the asset acquired in this lot, expressed in units of the deposited asset.

string
required

Total cost basis of the lot in the reporting currency (USD), used for tax gain/loss calculations.

date-time

RFC3339 timestamp of when the asset in this lot was originally acquired. Optional; when omitted the deposit’s effective datetime is used.

Headers
string
required

HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.

string
required

Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json