Get deposit
Get a deposit by its ID
Path Parameters
id string required
Deposit ID, which can be obtained using the List Deposits query.
Responses
- 200
- 500
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
deposit object
Deposit matching the ID from the request.
amount string
asset string
createdTimestamp int64
creditedTimestamp int64
id string
partyId string
status Status of the deposit
Possible values: [STATUS_UNSPECIFIED
, STATUS_OPEN
, STATUS_CANCELLED
, STATUS_FINALIZED
]
txHash string
{
"deposit": {
"amount": "string",
"asset": "string",
"createdTimestamp": "string",
"creditedTimestamp": "string",
"id": "string",
"partyId": "string",
"status": "STATUS_UNSPECIFIED",
"txHash": "string"
}
}
An internal server error
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
@type string
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
@type string
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
Loading...