BusinessDeletion and support
Business
Deletion and support
Business deletion and support-access history.
Schedule or cancel deletion of the whole business after the 14-day grace period, and read when Revisit support viewed the business. Both are explicit owner choices and need a key with no branch or program limit.
Paths are relative to https://app.revisit.cards/v1/developer.
Read whether business deletion is scheduled
/business/deletionScopebusiness:read
Requires business:read and a key with no branch or program limit. The same answer as the owner's Settings screen. In test mode it answers for the test workspace only.
Returns 200
daysLeftinteger or nullRequiredscheduledFordate-time or nullRequiredstatusenumRequired- One of
none,scheduled.
curl "https://app.revisit.cards/v1/developer/business/deletion" \
-H "Authorization: Bearer $DEVELOPER_API_KEY"{
"data": {
"daysLeft": 12,
"scheduledFor": "2026-11-03T08:41:12.000Z",
"status": "none"
},
"requestId": "085da18f-11c5-4a9a-96ba-2f7d9921d0f2",
"success": true
}Schedule business deletion after the 14-day grace period
/business/deletionScopebusiness:delete
Requires the explicit business:delete scope (never in Read-only or Full access) and a key with no branch or program limit. The business name must be sent exactly, and an owner must have confirmed their email. Nothing is deleted now: the existing nightly purge removes the business, its customers and its keys on scheduledFor. Asking again never moves the date. Every owner is emailed (live keys only).
Send an Idempotency-Key header. Safe to retry.
Body
confirmNamestringRequired
Returns 200
daysLeftinteger or nullRequiredscheduledFordate-time or nullRequiredstatusenumRequired- One of
none,scheduled.
curl -X POST "https://app.revisit.cards/v1/developer/business/deletion" \
-H "Authorization: Bearer $DEVELOPER_API_KEY" \
-H "Idempotency-Key: 5f0c2a8e-7b1d-4c3e-9a6f-0d4b8ec4503e" \
-H "Content-Type: application/json" \
-d '{
"confirmName": "Mishti Ghor"
}'{
"data": {
"daysLeft": 12,
"scheduledFor": "2026-11-03T08:41:12.000Z",
"status": "none"
},
"requestId": "0c67c58e-0889-49ec-ac38-4aa880cef120",
"success": true
}Cancel a scheduled business deletion
/business/deletionScopebusiness:delete
Requires business:delete. 409 NOT_SCHEDULED when nothing is scheduled (the same operation key replays the original answer instead).
Send an Idempotency-Key header. Safe to retry.
Returns 200
daysLeftinteger or nullRequiredscheduledFordate-time or nullRequiredstatusenumRequired- One of
none,scheduled.
Errors
- 409
NOT_SCHEDULED
curl -X DELETE "https://app.revisit.cards/v1/developer/business/deletion" \
-H "Authorization: Bearer $DEVELOPER_API_KEY" \
-H "Idempotency-Key: 5f0c2a8e-7b1d-4c3e-9a6f-0d4b8e4c18ac"{
"data": {
"daysLeft": 12,
"scheduledFor": "2026-11-03T08:41:12.000Z",
"status": "none"
},
"requestId": "341838d0-d1ba-466c-8a55-540a1505f186",
"success": true
}Read when Revisit support viewed the business
/business/support-accessScopesupport:read
Requires the explicit support:read scope and a key with no branch or program limit. Newest first; only the start, end and whether changes were allowed. Operator identities and the free-text reason stay in the owner's Settings screen.
Query
limitinteger- 1 to 100. Default
50. offsetinteger- 0 to 10000. Default
0.
Returns 200
hasMorebooleanRequireditemsobject[]Requireditems[].iduuidRequireditems[].startedAtdate-timeRequireditems[].endedAtdate-time or nullRequireditems[].escalatedbooleanRequired
curl "https://app.revisit.cards/v1/developer/business/support-access" \
-H "Authorization: Bearer $DEVELOPER_API_KEY"{
"data": {
"hasMore": false,
"items": [
{
"endedAt": null,
"escalated": false,
"id": "e01b010d-2c65-48e1-83a0-acad79f8d3b4",
"startedAt": "2026-11-03T08:41:12.000Z"
}
]
},
"requestId": "2b77fba2-3dbb-4ec5-b566-6cfdd98decf5",
"success": true
}