Configuração de pagamento da comunidade
GET/api/checkout/config
- Auth
- Public
- 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.
Endpoint público — não exige autenticação. A comunidade é a do `X-CommunityId`; sem o header, 400 com `param = X-CommunityId`. Comunidade inexistente, 404; sem configuração de pagamento aprovada, 400.
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 | Operação realizada com sucesso. |
400 | Requisição inválida — falha de validação. |
404 | Recurso não encontrado. |
500 | Erro interno do servidor. |
curl example
curl -X GET "https://api.memberfy.net/api/checkout/config" \
-H "X-CommunityId: $COMMUNITY_ID"