cURL
curl --request POST \ --url https://api-new.paineloffice.click/red-club/extend/{id} \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data '{ "credits": 123 }'
{ "success": true, "message": "<string>", "data": { "id": 123, "username": "<string>", "previous_expires_at": "<string>", "new_expires_at": "<string>", "days_extended": 123, "profile_type": "<string>", "member_id": "<string>" } }
Estende o usuário RedClub
POST /red-club/extend/{id} Authorization: Bearer <token>
curl -X POST "https://api-new.paineloffice.click/red-club/extend/{id}" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <token>" \ -d '{ "credits": 1 }'
Show properties
{ "message": "Usuário RedClub estendido com sucesso", "data": { "id": 4001, "username": "usuario_redclub_001", "previous_expires_at": "2024-02-15T10:30:00Z", "new_expires_at": "2024-03-16T10:30:00Z", "days_extended": 30, "profile_type": "vip", "member_id": "RC_4001_VIP" } }