curl --request POST \
--url https://api.machines.cash/user/v1/crypto/decrypt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"id": "card_name",
"encrypted": {
"v": 1,
"iv": "...",
"ct": "..."
}
}
]
}
'{
"ok": true,
"data": {},
"summary": "success"
}Decrypt encrypted values
When to use this: Convert encrypted label fields into readable text for UI/agent output.
Required scope: encryption.read.
curl --request POST \
--url https://api.machines.cash/user/v1/crypto/decrypt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"id": "card_name",
"encrypted": {
"v": 1,
"iv": "...",
"ct": "..."
}
}
]
}
'{
"ok": true,
"data": {},
"summary": "success"
}