Configuração de créditos da comunidade
GET/api/credits/settings
- Auth
- Requires a token
- X-CommunityId
X-CommunityIdSend the X-CommunityId of the community the operation happens in.
Endpoint descriptions come straight from the API specification and are in Portuguese for now. The interface around them is translated.
Owner, admin, moderador e financeiro leem. A linha é criada com os padrões na primeira leitura: não acumula, janela de 24 h, cancelamento tardio e no-show perdem o crédito.
Headers
| Name | Type | Description |
|---|---|---|
X-CommunityIdoptional | string (uuid) | ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade. |
Responses
| Status | Description |
|---|---|
200 | Configuração |
403 | Autenticado, mas sem permissão para esta operação. |
curl example
curl -X GET "https://api.memberfy.net/api/credits/settings" \
-H "Authorization: Bearer $TOKEN" \
-H "X-CommunityId: $COMMUNITY_ID"