A transaction is public by default, which means it can be seen by anyone with access to the folder in which the transaction is stored. It is possible to limit the transaction access to the transaction creator and member with admin rights only, by switching the transaction into private mode.
Create a private transaction
To create a private transaction, send a request to POST /v1/transactions
and pass the private
argument:
curl
https://api.universign.com/v1/transactions \
-d private=true
Switch privacy mode
To switch the privacy mode of an existing transaction, send a request to POST /v1/transactions/{transaction_id}
and set the private
boolean to true
or false
depending on the wanted privacy mode:
curl
https://api.universign.com/v1/transactions/tx_AWo949MOq0JE \
-d private=false