Zum Inhalt springen

Configuração de pagamento da comunidade

GET/api/checkout/config

Auth
Öffentlich
X-CommunityId
X-CommunityId Sende die X-CommunityId der Community, in der die Operation stattfindet.
Die Beschreibungen der Endpoints stammen aus der API-Spezifikation und sind vorerst auf Portugiesisch. Die Oberfläche drumherum ist übersetzt.

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.

Header

NameTypBeschreibung
X-CommunityIdoptionalstring (uuid)ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade.

Antworten

StatusBeschreibung
200Operação realizada com sucesso.
400Requisição inválida — falha de validação.
404Recurso não encontrado.
500Erro interno do servidor.

curl-Beispiel

curl -X GET "https://api.memberfy.net/api/checkout/config" \
  -H "X-CommunityId: $COMMUNITY_ID"