Skip to main content
POST
/
0
/
private
/
GetCustodyTransaction
Get transaction by id
curl --request POST \
  --url https://api.kraken.com/0/private/GetCustodyTransaction \
  --header 'API-Key: <api-key>' \
  --header 'API-Sign: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "nonce": 123,
  "vault_id": "<string>",
  "with_long_timeout": null,
  "quote": null
}
'
{
  "error": [
    {
      "severity": "E",
      "errorClass": "<string>",
      "type": "<string>",
      "errorMessage": "<string>"
    }
  ],
  "result": {
    "transaction": {
      "id": "TXURLTG-FFGYT-X7F73S",
      "time": "2024-01-03T15:07:15.400Z",
      "type": "trade",
      "category": "trade",
      "area": "spot_margin",
      "status": "successful",
      "ref_id": "TSGOQO3-RE57R-6QY57X",
      "ref_id2": "TPIGLM-T664Y-JZSNTW",
      "custody_extended": {
        "custody_type": "pledge_collateral",
        "ref_id_2": 0,
        "approval_id": null,
        "internal_transaction_id": null,
        "transaction_hash": null,
        "loan_id": "L_123"
      }
    },
    "result_type": "complete"
  }
}

Documentation Index

Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

API-Key
string
header
required

The "API-Key" header should contain your API key.

API-Sign
string
header
required

Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.

Query Parameters

id
string
required

Transaction ID

Body

application/json
nonce
integer<int64>
required

Nonce used in construction of API-Sign header

vault_id
string
required

Vault ID

Required string length: 14
Pattern: ^V[A-Z2-7]{12}[ACEGIKMOQSUWY246]$
with_long_timeout
boolean | null

With long timeout

quote
object

Quote asset

Response

200 - application/json

Transaction retrieved.

error
object[]
required
result
object
Example:
{
"transaction": {
"id": "TXURLTG-FFGYT-X7F73S",
"time": "2024-01-03T15:07:15.400Z",
"type": "trade",
"category": "trade",
"area": "spot_margin",
"status": "successful",
"ref_id": "TSGOQO3-RE57R-6QY57X",
"ref_id2": "TPIGLM-T664Y-JZSNTW",
"custody_extended": {
"custody_type": "pledge_collateral",
"ref_id_2": 0,
"approval_id": null,
"internal_transaction_id": null,
"transaction_hash": null,
"loan_id": "L_123"
}
},
"result_type": "complete"
}