Transactions
Transaction is instant movement of liability.
Create
echo 'move 0.0000001 BTC from account to account'
curl --location --request POST 'https://api.orangepill.cloud/v1/transactions' \
--header 'x-api-key: AXVubzpwQDU1dzByYM==' \
--header 'idempotency-key: 27373fabc392933dffabb' \
--header 'Content-Type: application/json' \
--data-raw '{
"source": {
"account": "634b56217f6a7b0be52dffbd"
},
"destination": {
"account": "6340be52dffbdb56217f6a7b"
},
"value": 0.0000001,
"asset": "BTC",
"seal": {
"my_signature_field": "my_signature_value"
},
"data": {
"description": "Payment 0.0000001 Bitcoin",
"external_reference": "PAY002"
}
}'Retrieve history
Last updated