Transaction

POST /users/{user_id}/custody_account_holders/{custody_account_holder_id}/custody_accounts/{custody_account_id}/transactions

Transaction. The idem_key attribute needs to be unique to guard against double submissions.

Path parameters

application/json

Body Required

Withdrawal transaction information

Responses

POST /users/{user_id}/custody_account_holders/{custody_account_holder_id}/custody_accounts/{custody_account_id}/transactions
curl \
 -X POST https://client-subdomain.bitbond.net/api/v1/users/{user_id}/custody_account_holders/{custody_account_holder_id}/custody_accounts/{custody_account_id}/transactions \
 -H "Content-Type: application/json" \
 -d '{"transaction":{"amount":42.0,"destination_address":"string","idem_key":"string","reference":"string"}}'
Request example
{
  "transaction": {
    "amount": 42.0,
    "destination_address": "string",
    "idem_key": "string",
    "reference": "string"
  }
}
Response examples (201)
{
  "id": "string",
  "amount": 42.0,
  "from_address": "string",
  "destination_address": "string",
  "reference": "string",
  "asset_code": "string",
  "asset_issuer": "string",
  "tx_hash": "string",
  "confirmed_at": "string",
  "failed_at": "string",
  "created_at": "string",
  "status": "string",
  "cursor": 42
}