Unarchive Transaction
Restore an archived transaction back to the active transaction list.
Endpoint
PUT /transactions/{id}/unarchive
Headers
| Header | Type | Required | Description |
|---|---|---|---|
x-api-key | string | Yes | Your API key for authentication |
x-secret-key | string | Yes | Your secret key for authentication |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Unique transaction identifier |
Example Request
curl -X PUT "{{baseUrl}}/transactions/7833195a-3a55-4d14-9bd1-713af24ef89f/unarchive" \
-H "x-api-key: {your-api-key}" \
-H "x-secret-key: {your-secret-key}"
Response
Success (200 OK)
{
"success": true,
"message": "Transaction unarchived successfully",
"data": {
"id": "7833195a-3a55-4d14-9bd1-713af24ef89f",
"archived": false,
"unarchivedAt": "2024-08-08T16:00:00Z"
}
}