Skip to content

Create Disposal Entry

POST
/api/v1/manual-entries/disposals
curl --request POST \
--url https://api.qeychain.xyz/api/v1/manual-entries/disposals \
--header 'Content-Type: application/json' \
--data '{ "asset": "example", "quantity": 1, "disposal_timestamp": "2026-04-15T12:00:00Z", "disposal_type": "example", "proceeds_usd": 1, "is_external_flow": true, "note": "example" }'

Create a manual disposal entry.

Media typeapplication/json
DisposalEntryCreate

Create a manual disposal entry.

object
asset
required
Asset
string
>= 1 characters <= 50 characters
quantity
required
Quantity
number
> 0
disposal_timestamp
required
Disposal Timestamp
string format: date-time
disposal_type
required
Disposal Type

Withdrawal, transfer, sale, lost, stolen

string
proceeds_usd
Any of:
number
is_external_flow
Is External Flow

Affects portfolio return calculations

boolean
default: true
note
Any of:
string
<= 2000 characters

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}