---
title: "Atualizar cobrança"
method: PATCH
path: "/charges/{charge_uuid}"
---

# Atualizar cobrança

`PATCH /charges/{charge_uuid}`

Este recurso permite a atualização de dados de uma cobrança.

## Path parameters

- `charge_uuid` string, required

## Request body

- object
  - `dueDate` string, date — Data de vencimento da cobrança.
  - `abatementValue` number, double — Valor do abatimento da cobrança.
  - `interestType` 'fixed_value' | 'percentage' — Tipo de juros que será aplicado a cobrança. Valores permitidos fixed_value ou percentage.
  - `interestValue` number, double — Valor dos juros por mês. Valores inteiros ou decimais com precisão 2.
  - `applicableFine` number, double — Multa por atraso em valor percentual. precisão 2.

## Response `200`

200

- object
  - `data` object
    - `id` string
    - `type` string
    - `attributes` object
      - `createdAt` string
      - `updatedAt` string
      - `status` string
      - `paymentMethod` string
      - `dueDate` string
      - `value` integer
      - `discount` object
        - `range` string
        - `discountType` string
        - `discountValue` integer
      - `abatementValue` number
      - `interestType` string
      - `interestValue` integer
      - `applicableFine` integer
      - `updateStatus` string
      - `updateDetails` object[]
        - `field` string
        - `status` string
      - `payer` object
        - `data` object
          - `type` string
          - `attributes` object
            - `name` string
            - `documentNumber` string
            - `email` string
            - `address` object
              - …
            - `phone` object
              - …
      - `grantor` object
        - `data` object
          - `type` string
          - `attributes` object
            - `name` string
            - `documentNumber` string
            - `address` object
              - …
      - `fees` object
        - `data` object[]
          - `id` string
          - `type` string
          - `attributes` object
            - `kind` string
            - `value` number
      - `boleto` object
        - `data` object
          - `id` string
          - `type` string
          - `attributes` object
            - `ourNumber` integer
            - `ourNumberDv` string
            - `barCode` string
            - `emv` string
            - `image` string
            - `quickPdfUrl` string
            - `lineCode` string
            - `registrationStatus` string
            - `pdf` string
            - `yourNumber` string
            - `registrationMethod` string
            - `messagingRuleId` string
            - `observation` string
      - `payments` object
        - `data` object[]
          - `id` string
          - `type` string
          - `attributes` object
            - `value` integer
            - `receivedAt` string
            - `processedAt` string
            - `paymentBankCode` unknown
            - `paymentAgency` unknown
      - `clientControlNumber` string
      - `origin` string
      - `receiptNumber` string
      - `expiresAfter` integer
      - `titleType` string

## Other responses

- `400` — 400
- `401` — 401
- `404` — 404
- `422` — 422

---

[API](https://skmtc.net/grafeno/apis/api-v2-grafeno.md) · [All operations](https://skmtc.net/grafeno/apis/api-v2-grafeno/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grafeno/api-v2-grafeno/versions/20f928f6933f/schema)
