Pular para o conteúdo principal

Régua e comunicação

Como a cobrança acontece: réguas e seus passos, classificações da carteira, modelos de mensagem, layouts de e-mail, as notificações enviadas e os canais e preferências de envio.

Famílias nesta página​

FamíliaToolsreadwritedestructive
collection_rules — Réguas de cobrança e passos9342
classifications — Classificações5221
templates — Modelos de mensagem6231
email_layouts — Layouts de e-mail2110
notifications — Notificações6213
notification_channels — Canais de notificação5221
notification_preferences — Preferências de notificação2110

Réguas de cobrança e passos​

ToolTipoPermissãoEndpointO que faz
dunning_collection_rules_listreadcollection_rules.listGET /v1/collection-rulesLists the organization’s collection rules, ordered by priority.
dunning_collection_rules_createwritecollection_rules.createPOST /v1/collection-rulesCreates a collection rule, optionally with steps.
dunning_collection_rules_getreadcollection_rules.showGET /v1/collection-rules/{id}Returns a collection rule by ID.
dunning_collection_rules_updatewritecollection_rules.updatePUT /v1/collection-rules/{id}Updates the rule data (partial).
dunning_collection_rules_deletedestructivecollection_rules.deleteDELETE /v1/collection-rules/{id}Soft-deletes the rule and its steps.
dunning_collection_rule_steps_listreadcollection_rules.showGET /v1/collection-rules/{id}/stepsLists the rule steps ordered by position, with the message template embedded.
dunning_collection_rule_steps_createwritecollection_rules.updatePOST /v1/collection-rules/{id}/stepsCreates a step on the rule.
dunning_collection_rule_steps_updatewritecollection_rules.updatePUT /v1/collection-rules/{id}/steps/{stepId}Updates a step (partial).
dunning_collection_rule_steps_deletedestructivecollection_rules.updateDELETE /v1/collection-rules/{id}/steps/{stepId}Soft-deletes a step and reorders the remaining ones.

Classificações​

ToolTipoPermissãoEndpointO que faz
dunning_classifications_listreadclassifications.listGET /v1/classificationsLists the organization’s classifications, ordered by priority and name by default.
dunning_classifications_createwriteclassifications.createPOST /v1/classificationsCreates a classification.
dunning_classifications_getreadclassifications.showGET /v1/classifications/{id}Returns a classification by ID.
dunning_classifications_updatewriteclassifications.updatePUT /v1/classifications/{id}Updates a classification (partial).
dunning_classifications_deletedestructiveclassifications.deleteDELETE /v1/classifications/{id}Soft-deletes a classification.

Modelos de mensagem​

ToolTipoPermissãoEndpointO que faz
dunning_templates_listreadtemplates.listGET /v1/templatesLists the organization’s message templates with pagination, search and filters.
dunning_templates_createwritetemplates.createPOST /v1/templatesCreates a message template.
dunning_templates_getreadtemplates.showGET /v1/templates/{id}Returns a template by ID.
dunning_templates_updatewritetemplates.updatePUT /v1/templates/{id}Updates a template (partial).
dunning_templates_deletedestructivetemplates.deleteDELETE /v1/templates/{id}Soft-deletes a template.
dunning_templates_duplicatewritetemplates.duplicatePOST /v1/templates/{id}/duplicateCreates a copy of the template with the given name.

Layouts de e-mail​

ToolTipoPermissãoEndpointO que faz
dunning_email_layouts_listreademail_layouts.listGET /v1/email-layoutsLists the organization’s email layouts (default first) and the built-in reference layout.
dunning_email_layouts_createwriteemail_layouts.createPOST /v1/email-layoutsCreates an email layout.

Notificações​

ToolTipoPermissãoEndpointO que faz
dunning_notifications_listreadnotifications.listGET /v1/notificationsLists the organization’s notifications with pagination and filters.
dunning_notifications_createdestructivenotifications.createPOST /v1/notificationsCreates a manual notification for a customer, optionally linked to a charge and a rule step.
dunning_notifications_getreadnotifications.showGET /v1/notifications/{id}Returns a notification by ID; use include to attach relations.
dunning_notifications_updatewritenotifications.updatePUT /v1/notifications/{id}Updates a notification’s status, delivery timestamps and metadata (partial).
dunning_notifications_deletedestructivenotifications.deleteDELETE /v1/notifications/{id}PERMANENTLY deletes a notification (hard delete — the model has no soft delete).
dunning_notifications_resenddestructivenotifications.resendPOST /v1/notifications/{id}/resendCreates a NEW pending notification copied from the original (the new record’s metadata references the original via resend_of).

Canais de notificação​

ToolTipoPermissãoEndpointO que faz
dunning_notification_channels_listreadnotification_channels.showGET /v1/notification-channelsReturns the organization channels.
dunning_notification_channels_createwritenotification_channels.updatePOST /v1/notification-channelsCreates a channel.
dunning_notification_channels_getreadnotification_channels.showGET /v1/notification-channels/{id}Returns a channel by ID.
dunning_notification_channels_updatewritenotification_channels.updatePATCH /v1/notification-channels/{id}Updates a channel (partial).
dunning_notification_channels_deletedestructivenotification_channels.updateDELETE /v1/notification-channels/{id}Removes the channel (soft delete).

Preferências de notificação​

ToolTipoPermissãoEndpointO que faz
dunning_notification_preferences_getreadnotification_preferences.showGET /v1/notification-preferencesReturns the effective gate per message type — types without a saved record appear with all channels enabled.
dunning_notification_preferences_updatewritenotification_preferences.updatePUT /v1/notification-preferencesUpserts the submitted preferences (partial: only the included types are changed).

Os campos de cada recurso estão na Referência da API.

Uma tool que você não pode rodar não aparece em tools/list. Se faltar alguma desta página, veja Autenticação.