Débito Direto Autorizado

Modificar DDA

patch/direct-debit/debits

Request

  • Base URL
    https://api.sandbox.empresas.btgpactual.com
  • Auth
    OAuth 2
    Authorization codehttps://id.btgpactual.com/oauth2/authorize
    Token URLhttps://id.btgpactual.com/oauth2/token
    Scopesbrn:btg:empresas:banking:direct-debit

Request body

Example request

{
  "items": [
    {
      "hidden": true,
      "id": "d2627834-dd84-4094-9dcf-ca784460b352"
    }
  ]
}

Response

Ok

Example response

{
  "data": {
    "id": "d2627834-dd84-4094-9dcf-ca784460b352",
    "amount": 10.23,
    "dueDate": "2024-06-18T00:00:00.000Z",
    "expirationDate": "2024-06-18T00:00:00.000Z",
    "digitableLine": "20890050091784560129710038868500996680000100000",
    "payee": {
      "document": "00000000000125",
      "fantasyName": "VECHI CONSULTORIA E PROJETOS LTDA",
      "socialName": "VECHI CONSULTORIA E PROJETOS LTDA",
      "bankCode": "208",
      "bankName": "VECHI CONSULTORIA E PROJETOS LTDA"
    }
  },
  "_links": {
    "next": {
      "rel": "self",
      "href": "/direct-debits/d2627834-dd84-4094-9dcf-ca784460b352",
      "method": "DELETE",
      "type": "application/json"
    },
    "previous": {
      "rel": "self",
      "href": "/direct-debits/d2627834-dd84-4094-9dcf-ca784460b352",
      "method": "DELETE",
      "type": "application/json"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.