Skip to main content
POST
/
v2
/
api
/
core
/
transactions
Create new outgoing transaction
curl --request POST \
  --url https://api.custody.api-zodia.io/v2/api/core/transactions \
  --header 'Content-Type: application/json' \
  --header 'X-Signature: <api-key>' \
  --data '
{
  "walletId": "ZTEST-NOBENF-849P8XKKAO",
  "transactionId": "TRI-ZTEST-63Q4DZ0KJP",
  "amount": "100",
  "subtractFee": true,
  "recipientId": "tb1ql7w62elx9ucw4pj5lgw4l028hmuw80sndtntxt",
  "submitterId": "api-maker@zodia.io",
  "currency": "eth",
  "description": "First transaction"
}
'
{
  "id": "<string>"
}

Authorizations

X-Signature
string
header
required

Body

application/json
walletId
string
required

id of the wallet you want to use

Required string length: 1 - 40
Example:

"ZTEST-NOBENF-849P8XKKAO"

transactionId
string
required

id of transaction which will be created

Required string length: 1 - 40
Example:

"TRI-ZTEST-63Q4DZ0KJP"

amount
string
required

amount to send in Unit

Example:

"100"

subtractFee
boolean
required

subtract fee

Example:

true

recipientId
string
required

to address

Example:

"tb1ql7w62elx9ucw4pj5lgw4l028hmuw80sndtntxt"

submitterId
string
required

email of submitter

Example:

"api-maker@zodia.io"

currency
string
default:the wallet currency

currency of the transfer

Example:

"eth"

description
string

a quick description of the transaction

Example:

"First transaction"

Response

OK

id
string
required

Id of the entity