-
Notifications
You must be signed in to change notification settings - Fork 1
Pagamentos
Documentação dos fluxos de pagamentos
POST /api/v1/graphql allDjstripePrice
- Criar a conta
POST /api/v1/graphql CreateUpdateAccount
- O cliente no stripe é criado após a conta no backend
- O cliente no stripe não é criado após a conta no backend
- Enviar mensagem de erro para o responsável
- Criar um cliente no stripe via endpoint
POST /payment/customer/<account_id>
- Atualizar os dados do cliente
PUT /payment/customer/<account_id>
- Criar uma inscrição vinculada a um preço
POST /payment/subscription/
POST /payment/customer/<account_id>/subscription/
DELETE /payment/subscription/<subscription_id>
DELETE /payment/customer/<account_id>/subscription/<subscription_id>
POST /payment/customer/<account_id>/subscription/<subscription_id>
DELETE /payment/customer/<account_id>/subscription/<subscription_id>
Documentação dos recursos de pagamento
POST /payment/customer/<account_id>
{
"account_id": "...",
"email": "...",
"address": {
"line1": "Rua Augusta, 100",
"city": "São Paulo",
"state": "SP",
"country": "BR",
"postal_code": "01304-000",
}
}
PUT /payment/customer/<account_id>
{
"account_id": "...",
"email": "...",
"address": {
"line1": "Rua Augusta, 100",
"city": "São Paulo",
"state": "SP",
"country": "BR",
"postal_code": "01304-000",
}
}
POST /payment/subscription/
POST /payment/customer/<account_id>/subscription/
{
"account_id": "...",
"price_id": "..."
}
DELETE /payment/subscription/<subscription_id>
DELETE /payment/customer/<account_id>/subscription/<subscription_id>
POST /payment/customer/<account_id>/subscription/<subscription_id>
{
"account_id": "...",
"subscription_id": "..."
}
DELETE /payment/customer/<account_id>/subscription/<subscription_id>
- Autenticar
- Inscrever/cancelar inscrição
- Adicionar/remover colaborador