POST
/v1/registration-fees/{id}/archive
curl \
--request POST 'https://classmanager.test/v1/registration-fees/_xxxxxxxx/archive'
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (404)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (200)
{
"id": "reg_xxxxxxxxxxxxxxxxxxxxxxxxxx",
"name": "Registration Fee",
"amount": 100,
"maxAmountPerFamily": 100,
"repetitionInterval": "one-off",
"dueDate": "2023-12-05",
"proRated": true,
"taxRate": {
"id": "tax_xxxxxxxxxxxxxxxxxxxxxxxxxx",
"rate": "20.000",
"label": "VAT (20%)",
"isDefault": true
},
"archivedAt": "2024-06-12T09:39:49.000000Z"
}