Iugu
Manage payments, invoices, and subscriptions with iugu payment gateway.
Authentication
This connector uses ECDSA (Elliptic Curve Digital Signature Algorithm) authentication.
info
Set up your connection in the Abstra Console before using it in your workflows.
How to use
Using the Smart Chat
Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".
Using the Web Editor
from abstra.connectors import run_connection_action
result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})
Available Actions
This connector provides 150 actions:
| Action | Purpose | Parameters |
|---|---|---|
| post_v1_invoices | Criar fatura | api_token (undefined) data (undefined) required |
| get_v1_invoices | Listar faturas | limit (string) start (string) created_at_from (string) created_at_to (string) paid_at_from (string) paid_at_to (string) due_date (string) query (string) updated_since (string) customer_id (string) status_filter (string) api_token (string) |
| post_v1_invoices_by_id_capture | Capturar fatura | id (string) api_token (string) |
| post_v1_invoices_by_id_refund | Reembolsar fatura | id (string) api_token (string) data: { . partial_value_refund_cents (integer) } (object) required |
| put_v1_invoices_by_id_cancel | Cancelar Fatura | id (string) api_token (string) |
| post_v1_invoices_by_id_duplicate | Gerar 2ª via de fatura | id (string) api_token (string) data: { . due_date (string) . items (array) . ignore_due_email (boolean) . ignore_canceled_email (boolean) . current_fines_option (boolean) . keep_early_payment_discount (boolean) } (object) required |
| post_v1_invoices_by_id_duplicate | Gerar 2ª via de fatura | id (string) api_token (string) data: { . due_date (string) . items (array) . ignore_due_email (boolean) . ignore_canceled_email (boolean) . current_fines_option (boolean) . keep_early_payment_discount (boolean) } (object) required |
| get_v1_invoices_by_id | Consultar Fatura | id (string) api_token (string) |
| post_v1_invoices_by_id_send_email | Enviar por email | id (string) api_token (string) |
| put_v1_invoices_by_id_externally_pay | Considerar Fatura Paga Externamente | id (string) api_token (string) data: { . external_payment_id (string) . external_payment_description (string) } (object) required |
| get_v1_resource_search | Buscar Fatura por ID Externos | api_token (string) query_field (string) value (string) Accept-Language (string) |
| get_v1_maketplace_resource_search | Buscar Fatura por ID Externos de Subcontas | api_token (string) query_field (string) value (string) Accept-Language (string) |
| post_v1_payment_token | Criar Token | data: { . account_id (string) . method (string) . test (string) . data (object) } (object) required |
| post_v1_charge | Cobrança Direta | api_token (undefined) data (undefined) required |
| post_v1_charge_two_credit_cards | Cobrança Direta com 2 Cartões | data: { . api_token (string) . invoiced_id (string) . iugu_credit_card_payment (array) } (object) required |
| post_v1_payment_booklets | Criar um Carnê | api_token (integer) Accept-Language (string) data: { . customer_id (string) . installments (string) . description (string) . price_cents (string) . invoice_payable_with_pix (boolean) . custom_instruction (string) . started_at (string) . invoice_fines_value (string) . invoice_per_day_interest (boolean) . invoice_per_day_interest_value (string) . invoice_early_payment_discount (boolean) . early_payment_discounts (object) . external_reference (string) . ignore_due_email (boolean) } (object) required |
| get_v1_payment_booklets | LIstar Carnês | api_token (string) |
| get_v1_payment_booklets_by_id | Consultar um Carnê | id (string) api_token (string) data (object) required |
| put_v1_payment_booklets_by_id_cancel | Cancelar Carnê | id (string) api_token (string) |
| post_v1_custom_payment_booklets | Criar um Carnê Customizado | api_token (string) data: { . invoices (array) . description (string) . custom_instruction (string) } (object) required |
| get_v1_custom_payment_booklets | Listar Carnês Personalizados | api_token (string) |
| get_v1_custom_payment_booklets_by_id | Consultar um Carnê Customizado | id (string) api_token (string) |
| post_v1_customers | Criar Cliente | api_token (string) data: { . email (string) . name (string) . notes (string) . phone (string) . phone_prefix (string) . cpf_cnpj (string) . cc_emails (string) . zip_code (string) . number (string) . street (string) . city (string) . state (string) . district (string) . complement (string) . custom_variables (array) } (object) required |
| put_v1_customers_by_id | Alterar Cliente | id (string) api_token (string) data: { . email (string) . name (string) . notes (string) . phone (string) . phone_prefix (string) . cpf_cnpj (string) . cc_emails (string) . zip_code (string) . number (string) . street (string) . state (string) . district (string) . complement (string) . default_payment_method_id (string) . custom_variables (array) } (object) required |
| delete_v1_customers_by_id | Remover Cliente | id (string) api_token (string) |
| get_v1_customers_by_id | Buscar Cliente | id (string) api_token (string) |
| get_v1_customers | Listar Clientes | api_token (string) limit (string) start (string) created_at_from (string) created_at_to (string) query (string) updated_since (string) |
| post_v1_customers_by_customer_id_payment_methods | Criar Forma de Pagamento | customer_id (string) api_token (string) data: { . description (string) . token (string) . set_as_default (boolean) } (object) required |
| get_v1_customers_by_customer_id_payment_methods | Listar Formas de Pagamento | customer_id (string) api_token (string) |
| put_v1_customers_by_customer_id_payment_methods_by_id | Alterar Forma de Pagamento | customer_id (string) id (string) api_token (string) data: { . description (string) } (object) required |
| delete_v1_customers_by_customer_id_payment_methods_by_id | Remover Forma de Pagamento | customer_id (string) id (string) api_token (string) |
| get_v1_customers_by_customer_id_payment_methods_by_id | Buscar Forma de Pagamento | customer_id (string) id (string) api_token (string) |
| post_v1_splits | Criar Splits | api_token (string) data: { . split_rules (array) } (object) required |
| get_v1_splits | Listar Splits | api_token (string) |
| get_v1_splits_by_id | Buscar Split | id (string) api_token (string) |
| get_v1_splits_current | Split Atual | api_token (string) |
| delete_v1_splits_current | Remover Split Atual | api_token (string) |
| get_v1_splits_invoices_by_id | Listar Splits da Fatura | id (string) api_token (string) |
| post_v1_plans | Criar Plano | api_token (string) data: { . name (string) . identifier (string) . interval (integer) . interval_type (string) . value_cents (integer) . payable_with (array) . features (array) . billing_days (integer) . max_cycles (integer) . invoice_max_installments (integer) } (object) required |
| get_v1_plans | Listar Todos | limit (string) start (string) query (string) updated_since (string) api_token (string) Content-Type (string) |
| put_v1_plans_by_id | Alterar Plano | id (string) api_token (string) data: { . name (string) . interval (integer) . interval_type (string) . value_cents (integer) . payable_with (string) . features (array) . billing_days (integer) . max_cycles (integer) . invoice_max_installments (integer) } (object) required |
| delete_v1_plans_by_id | Remover Plano | id (string) api_token (string) |
| get_v1_plans_by_id | Buscar Plano | id (string) api_token (string) |
| get_v1_plans_identifier_by_identifier | Buscar Plano pelo Identificador | identifier (string) api_token (string) |
| post_v1_subscriptions | Criar Assinatura | api_token (string) data (object) required |
| get_v1_subscriptions | Listar Assinaturas | limit (string) start (string) created_at_from (string) created_at_to (string) query (string) updated_since (string) customer_id (string) status_filter (string) plan_identifier (string) api_token (string) |
| post_v1_subscriptions_by_id_activate | Ativar Assinatura | id (string) api_token (string) |
| post_v1_subscriptions_by_id_suspend | Suspender Assinatura | id (string) api_token (string) |
| put_v1_subscriptions_by_id | Alterar Assinatura | id (string) api_token (string) data: { . plan_identifier (string) . expires_at . payable_with (string) . ignore_due_email . credits_based (boolean) . price_cents (integer) . credits_cycle . credits_min (integer) . subitems (array) . suspended (boolean) . skip_charge (boolean) . custom_variables (array) . two_step (boolean) . suspend_on_invoice_expired (boolean) . soft_descriptor_light (string) } (object) required |
| delete_v1_subscriptions_by_id | Remover Assinatura | id (string) api_token (string) |
| get_v1_subscriptions_by_id | Buscar Assinatura | id (string) api_token (string) |
| get_v1_subscriptions_by_id_change_plan_simulation_by_plan_identifier | Simular Alteração de Plano de Assinatura | id (string) plan_identifier (string) api_token (string) |
| post_v1_subscriptions_by_id_change_plan_by_plan_identifier | Alterar Plano da Assinatura | id (string) plan_identifier (string) api_token (string) |
| put_v1_subscriptions_by_id_add_credits | Adicionar Créditos a Assinatura | id (string) api_token (string) data: { . quantity (integer) } (object) required |
| put_v1_subscriptions_by_id_remove_credits | Remover Créditos a Assinatura | id (string) api_token (string) data: { . quantity (integer) } (object) required |
| post_v1_transfers | Transferir Valor | api_token (string) Request-Time (string) Signature (string) data: { . receiver_id (string) . amount_cents (integer) . custom_variables (array) } (object) required |
| get_v1_transfers | Listar Transferências | api_token (string) custom_variables_name (string) custom_variables_value (string) limit (string) start (string) created_at_from (string) created_at_to (string) transfer_type (string) |
| get_v1_transfers_by_id | Buscar Transferência | id (string) api_token (string) |
| post_v1_by_account_id_user_invites | Criar Convite | account_id (string) api_token (string) Content-Type (string) |
| get_v1_by_account_id_user_invites | Listar Convites | account_id (string) api_token (string) Content-Type (string) |
| put_v1_by_account_id_user_invites_by_id_cancel | Cancelar Convite | account_id (string) id (string) api_token (string) Content-Type (string) |
| post_v1_by_account_id_user_invites_by_id_resend | Reenviar Convite | account_id (string) id (string) api_token (string) Content-Type (string) |
| get_v1_by_account_id_user_invites_by_id | Buscar Convite | account_id (string) id (string) api_token (string) Content-Type (string) |
| post_v1_profile_renew_access_token | Renovar Api Token de Usuário | api_token (string) |
| post_v1_by_account_id_api_tokens | Criar API Token | account_id (string) api_token (string) Request-Time (string) Signature (string) data: { . api_type (string) . description (string) } (object) required |
| get_v1_by_account_id_api_tokens | Listar API Tokens | account_id (string) api_token (string) Request-Time (string) Signature (string) |
| delete_v1_by_account_id_api_tokens_by_id | Remover API Token | account_id (string) id (string) api_token (string) |
| get_v1_retrieve_subaccounts_api_token | Listar API Tokens das subcontas | api_token (string) Request-Time (string) Signature (string) |
| get_v1_web_hooks_supported_events | Listar Eventos Disponíveis | api_token (string) |
| post_v1_web_hooks | Criar Gatilho | api_token (string) data: { . event (string) . url (string) . authorization (string) } (object) required |
| get_v1_web_hooks | Listar Gatilhos | api_token (string) |
| put_v1_web_hooks_by_id | Alterar Gatilho | id (string) api_token (string) data: { . event (string) . url (string) . authorization (string) } (object) required |
| delete_v1_web_hooks_by_id | Remover Gatilho | id (string) api_token (string) |
| get_v1_web_hooks_by_id | Buscar Gatilho | id (string) api_token (string) |
| put_v1_web_hooks_by_id_toggle_activation | Ativar/Desativar Gatilho | id (string) api_token (string) |
| get_v1_web_hooks_resend | Reenviar gatilho por período | initial_date (string) final_date (string) event (string) api_token (string) |
| get | New Request | No parameters |
| get_v1_dunning_steps | Consultar Régua de Cobrança | api_token (string) |
| put_v1_dunning_steps | Alterar Régua de Cobrança | api_token (string) data: { . steps (array) } (object) required |
| get_v1_emails_supported_emails | Listar Identificadores de Email Disponíveis | api_token (string) |
| get_v1_emails_default_layout_by_identifier | Buscar Layout Padrão de Email | identifier (string) api_token (string) |
| post_v1_emails | Criar Email | api_token (string) data: { . identifier (string) . template (string) . subject (string) . active (boolean) } (object) required |
| get_v1_emails | Listar Emails | api_token (string) data (object) required |
| put_v1_emails_by_id | Alterar Email | id (string) api_token (string) data: { . identifier (string) . template (string) . subject (string) . active (boolean) } (object) required |
| delete_v1_emails_by_id | Remover Email | id (string) api_token (string) |
| get_v1_emails_by_id | Buscar Email | id (string) api_token (string) data (object) required |
| get_v1_emails_preview_by_identifier | Visualizar Template de Email | identifier (string) api_token (string) |
| post_v1_emails_test_by_identifier | Enviar Email de Teste | identifier (string) api_token (string) data: { . to (string) } (object) required |
| post_v1_accounts_by_id_request_withdraw | Pedido de Saque/Tranferências Próprias | id (string) api_token (string) Request-Time (string) Signature (string) data: { . amount (integer) . custom_variables (array) } (object) required |
| get_v1_withdraw_requests_by_id | Buscar Saques / Transferência Bancária | id (string) api_token (string) |
| get_v1_withdraw_requests | Listar Saques / Transferência Bancária | api_token (string) custom_variables_name (string) custom_variables_value (string) status (string) |
| post_v1_advancement_request_simulation | Criar Simulação de Antecipação | api_token (string) data: { . requested_advancement_cents (integer) } (object) required |
| get_v1_advancement_request_simulation | Verificar Status da Simulação | api_token (string) |
| post_v1_advancement_request | Aprovar Antecipação | api_token (string) |
| get_v1_advancement_request | Verificar Status da Antecipação | api_token (string) |
| get_v1_financial_transaction_requests | Listar Recebíveis | api_token (string) limit (string) start (string) status_filter (string) sinceyear (string) sincemonth (string) sinceday (string) toyear (string) tomonth (string) today (string) |
| put_v1_chargebacks_by_id_contest | Disputar Contestação | id (string) api_token (string) data: { . file_1 (string) . file_2 (string) . file_3 (string) . file_4 (string) . file_5 (string) } (object) required |
| put_v1_chargebacks_by_id_accept | Acatar Contestação | id (string) api_token (string) data (object) required |
| get_v1_chargebacks_by_id | Buscar Contestação | id (string) api_token (string) data (object) required |
| get_v1_chargebacks | Listar Contestação | api_token (string) data (object) required |
| get_v1_credit_card_transactions | Listar Transações de Cartão de Crédito | api_token (string) limit (string) start (string) created_at_from (string) created_at_to (string) status (string) |
| get_v1_accounts_credit_card_transactions | Listar Transações de Cartão de Crédito de Subcontas | api_token (string) limit (string) start (string) created_at_from (string) created_at_to (string) status (string) |
| get_v1_accounts_financial | Extrato Financeiro | api_token (string) year (string) month (string) day (string) limit (string) start (string) hl (string) |
| get_v1_accounts_invoices | Extrato de Faturas | api_token (string) year (string) month (string) status (string) Accept-Language (string) |
| get_v1_accounts_withdraw_conciliations | Conciliação de Saques | api_token (string) status (string) from (string) to (string) start (string) limit (string) |
| get_v1_accounts_consolidated_statements | Extrato Consolidado | api_token (string) year (string) month (string) Day (string) |
| get_v1_accounts_consolidated_receivables | Recebíveis Consolidados | api_token (string) scheduled_date_from (string) scheduled_date_to (string) |
| get_v1_accounts_financial_settled | Extrato Consolidado de Liquidados | api_token (string) date (string) |
| get_v1_web_hook_logs_by_invoice_id | Listar Logs | invoice_id (string) api_token (string) |
| get_v1_web_hook_logs_by_id_retry | Disparar log novamente | id (string) api_token (string) |
| post_v1_transferors | Inserir dados cedente | api_token (string) data: { . name (string) . street (string) . zip_code (string) . state (string) . number (string) . city (string) . district (string) . complement (string) } (object) required |
| put_v1_transferors | Alterar dados cedente | api_token (string) data: { . name (string) . street (string) . zip_code (string) . state (string) . number (string) . city (string) . district (string) . complement (string) } (object) required |
| delete_v1_transferors | Deletar dados cedente | api_token (string) |
| get_v1_payment_requests | Listar Pagamentos | api_token (string) start (string) limit (string) created_at_from (string) created_at_to (string) status (string) barcode (string) updated_at_from (string) updated_at_to (string) |
| post_v1_payment_requests | Criar Pedido de Pagamento | api_token (string) Request-Time (string) Signature (string) data: { . api_token (string) . barcode (string) . amount_cents (integer) . document_amount_cents (integer) . description (string) } (object) required |
| get_v1_payment_requests_by_id | Buscar Pagamento | id (string) api_token (string) |
| post_v1_payment_requests_validate | Validar Pagamento | api_token (string) data: { . barcode (string) . detailed (boolean) } (object) required |
| get_v1_deposits | Listar Depósitos | api_token (string) |
| get_v1_deposits_by_id | Buscar Depósito | id (string) api_token (string) |
| put_v1_deposits_by_id_refund | Reembolsar Depósito Pix | id (string) api_token (string) data (object) required |
| post_v1_marketplace_create_account | Criar Subconta | api_token (integer) Request-Time (integer) Signature (string) data: { . name (string) } (object) required |
| post_v1_accounts_configuration | Configurar Conta | api_token (string) Signature (string) Request-Time (integer) data: { . two_credit_cards_payment (boolean) } (object) required |
| put_v1_accounts_by_id | Atualizar Subconta | id (string) api_token (string) data: { . name (string) . subscriptions_billing_days (integer) . subscriptions_trial_period (integer) . default_return_url (string) . owner_emails_to_notify (string) . reply_to (string) } (object) required |
| post_v1_accounts_by_account_id_request_verification | Enviar verificação de subconta | account_id (string) api_token (string) data: { . data (object) . files (object) } (object) required |
| get_v1_account_documents | Consultar Envio de Documentos para Verificação de Conta iugu | api_token (integer) data (object) required |
| get_v1_accounts_by_id | Informações da Conta | id (string) api_token (string) |
| post_v1_bank_verification | Adicionar Domicílio Bancário | api_token (string) Request-Time (string) Signature (string) data: { . agency (string) . account (string) . account_type (string) . bank (string) . automatic_validation (boolean) . document (string) . RAW BODY (string) } (object) required |
| get_v1_bank_verification | Verificar Envio de Domicílio Bancário | api_token (string) |
| post_v1_credit_card_verification | Solicitar verificação para uso de Cartão de Crédito | api_token (string) data: { . max_charge_value_cents (integer) . document_legal (string) . document_individual_cnh (string) . document_individual_cpf (string) } (object) required |
| get_v1_marketplace | Listar Contas | api_token (string) limit (string) start (string) query (string) |
| post_v1_accounts_by_account_id_contacts | Criar Contato de Conta | account_id (string) api_token (string) data: { . name (string) . cpf (string) . email (string) . phone (string) . kind (string) } (object) required |
| get_v1_accounts_account_id_contacts | Listar contatos de conta | api_token (string) |
| get_v1_accounts_by_account_id_contacts_by_id | Buscar contato de conta | account_id (string) id (string) api_token (string) data (object) required |
| delete_v1_accounts_by_account_id_contacts_by_id | Deletar contato da conta | account_id (string) id (string) api_token (string) |
| put_v1_accounts_by_account_id_contato_by_id | Atualizar Contato de Conta | account_id (string) id (string) api_token (string) data: { . name (string) . cpf (string) . email (string) . phone (string) . kind (string) } (object) required |
| post_v1_accounts_by_account_id_owners | Criar sócio de conta | account_id (string) api_token (string) data: { . name (string) . cpf (string) . email (string) . phone (string) } (object) required |
| get_v1_accounts_by_account_id_owners | Listar sócios de conta | account_id (string) api_token (string) |
| get_v1_accounts_by_account_id_owners_by_id | Buscar sócio de conta | account_id (string) id (string) api_token (string) |
| put_v1_accounts_by_account_id_owners_by_id | Atualizar Sócio de Conta | account_id (string) id (string) api_token (string) data (object) required |
| delete_v1_accounts_by_account_id_owners_by_id | Deletar sócio de conta | account_id (string) id (string) api_token (string) |
| put_v1_payments_pix | Ativar/desativar PIX | api_token (string) data: { . enable (boolean) } (object) required |
| post_v1_transfer_requests | Transferência para Terceiros | api_token (undefined) Request-Time (undefined) Signature (undefined) data (undefined) required |
| patch_v1_transfer_requests_by_id_scheduled_cancel | Cancelar PIX Agendado | id (string) |
| get_v1_transfer_requests_by_id | Consultar Transferência para Terceiros | id (string) Accept (string) Content-Type (string) Request-Time (integer) Authorization (string) Cookie (string) |
| get_v1_transfer_requests | Listar Comprovantes de Transferências para Terceiros | limit (string) start (string) sortby (string) updated_at_from (string) updated_at_to (string) api_token (string) accept (string) |
| post_v1_zero_auth | Consultar Zero Auth | api_token (string) accept (string) content-type (string) data: { . token (string) } (object) required |
| post_v1_signature_validate | Validate Signature | api_token (string) Request-Time (string) Signature (string) data: { . RAW_BODY (string) } (object) required |
| get_v1_static_qr_codes | Listagem QRCode Estático | api_token (string) accept (string) content-type (string) data: { . start (integer) . limit (integer) } (object) required |
| post_v1_static_qr_codes | Criação QRCode Estático | api_token (string) accept (string) content-type (string) data: { . amount_cents (string) . description (string) } (object) required |
| get_v1_static_qr_codes_by_qr_code_id | Consulta QRCode Estático | qr_code_id (string) api_token (string) accept (string) |