curl -X POST "https://app.talkover.ai/api/v1/auto-topup/disable" \
-H "Authorization: Bearer talq_your_environment_token_here"
{
"success": true,
"data": {
"is_enabled": false,
"threshold_amount": 50.00,
"recharge_amount": 100.00,
"payment_method_id": "pm_uuid_1",
"updated_at": "2024-01-15T13:30:00Z"
}
}
Cobrança e Recarga Automática
Desativar Recarga Automática
Desligar a recarga automática para o ambiente
POST
/
api
/
v1
/
auto-topup
/
disable
curl -X POST "https://app.talkover.ai/api/v1/auto-topup/disable" \
-H "Authorization: Bearer talq_your_environment_token_here"
{
"success": true,
"data": {
"is_enabled": false,
"threshold_amount": 50.00,
"recharge_amount": 100.00,
"payment_method_id": "pm_uuid_1",
"updated_at": "2024-01-15T13:30:00Z"
}
}
Desativar Recarga Automática
Desativa a recarga automática. Tanto as recargas baseadas em limite mínimo quanto as agendadas deixam de ser disparadas. A configuração (limite mínimo, valor de recarga, método de pagamento) é preservada — reabilite-a posteriormente via Atualizar Configurações de Recarga Automática.Endpoint
POST /api/v1/auto-topup/disable
Cabeçalhos da requisição
string
obrigatório
Token Bearer para autenticação. Formato:
Bearer talq_your_environment_token_hereExemplos
curl -X POST "https://app.talkover.ai/api/v1/auto-topup/disable" \
-H "Authorization: Bearer talq_your_environment_token_here"
Resposta
{
"success": true,
"data": {
"is_enabled": false,
"threshold_amount": 50.00,
"recharge_amount": 100.00,
"payment_method_id": "pm_uuid_1",
"updated_at": "2024-01-15T13:30:00Z"
}
}
Observações
- Equivalente a chamar
PUT /v1/auto-topup/settingscom{"is_enabled": false}. - Recargas em andamento (já enfileiradas) ainda podem ser concluídas — desativar não reverte cobranças pendentes.
Esta página foi útil?