Delete a transaction
curl --request DELETE \
--url https://api.visorfinance.app/v1/spaces/{space_id}/transactions/{transaction_id} \
--header 'Authorization: Bearer <token>'{
"errors": [
{
"code": "INVALID_TOKEN",
"details": {},
"message": "The personal API token is not valid.",
"request_id": "F8x2kQ9vXc1AAAAB"
}
]
}{
"errors": [
{
"code": "INSUFFICIENT_SCOPE",
"details": {
"required_scope": "pfm:transactions:write"
},
"message": "The personal API token does not grant this operation.",
"request_id": "F8x2kQ9vXc1AAAAB"
}
]
}{
"errors": [
{
"code": "NOT_FOUND",
"details": {},
"message": "The resource does not exist.",
"request_id": "F8x2kQ9vXc1AAAAB"
}
]
}{
"errors": [
{
"code": "INVALID_TOKEN",
"details": {},
"message": "<string>",
"request_id": "<string>"
}
]
}{
"errors": [
{
"code": "TRANSACTION_CONFLICT",
"details": {
"reason": "paid_installment_linked"
},
"message": "The transaction cannot change in this way. See details.reason.",
"request_id": "F8x2kQ9vXc1AAAAB"
}
]
}{
"errors": [
{
"code": "RATE_LIMITED",
"details": {
"retry_after_seconds": 42
},
"message": "Too many requests. Retry after the number of seconds in Retry-After.",
"request_id": "F8x2kQ9vXc1AAAAB"
}
]
}Transactions
Delete a transaction
Deletes one transaction of the space. Requires the pfm:transactions:write scope. Visor removes a manual transaction and reverses its effect on the account balance. A connected transaction is hidden instead, so the next bank sync does not bring it back.
Delete a transaction
curl --request DELETE \
--url https://api.visorfinance.app/v1/spaces/{space_id}/transactions/{transaction_id} \
--header 'Authorization: Bearer <token>'{
"errors": [
{
"code": "INVALID_TOKEN",
"details": {},
"message": "The personal API token is not valid.",
"request_id": "F8x2kQ9vXc1AAAAB"
}
]
}{
"errors": [
{
"code": "INSUFFICIENT_SCOPE",
"details": {
"required_scope": "pfm:transactions:write"
},
"message": "The personal API token does not grant this operation.",
"request_id": "F8x2kQ9vXc1AAAAB"
}
]
}{
"errors": [
{
"code": "NOT_FOUND",
"details": {},
"message": "The resource does not exist.",
"request_id": "F8x2kQ9vXc1AAAAB"
}
]
}{
"errors": [
{
"code": "INVALID_TOKEN",
"details": {},
"message": "<string>",
"request_id": "<string>"
}
]
}{
"errors": [
{
"code": "TRANSACTION_CONFLICT",
"details": {
"reason": "paid_installment_linked"
},
"message": "The transaction cannot change in this way. See details.reason.",
"request_id": "F8x2kQ9vXc1AAAAB"
}
]
}{
"errors": [
{
"code": "RATE_LIMITED",
"details": {
"retry_after_seconds": 42
},
"message": "Too many requests. Retry after the number of seconds in Retry-After.",
"request_id": "F8x2kQ9vXc1AAAAB"
}
]
}Was this page helpful?