SEP-24SEP-31SEP-6
Create Custody Transaction
POST/transactions
Custody Server creates custody transaction record in DB.
Request
- application/json
Body
idstring
SEP transaction ID.
memostring
Memo value, that is used to identify inbound or outbound payments.
memoTypestring
Type of memo, that is used to identify inbound or outbound payments.
Possible values: [id
, hash
, text
]
protocolstring
Protocol of SEP transaction.
Possible values: [6
, 24
, 31
]
fromAccountstring
Source Stellar account.
toAccountstring
Destination Stellar account.
amountstring
Amount of the asset, that is sent/received.
amountFeestring
Fee of SEP transaction.
assetstring
Asset, that is sent/received.
kindstring
Kind of the SEP transaction.
Possible values: [deposit
, withdrawal
, receive
]
Responses
- 200
- 500
Success.
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
errorstringrequired
{
"error": "string"
}