erpx_bnk_pag (Domínio de pagamento do banking)

2.0info: 1.9.0 dda description: Serviço de DDA x-senior-domain: Domínio de pagamento do banking x-senior-domain-path: erpx_bnk_pag x-senior-service-path: dda contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: api.senior.com.br /erpx_bnk_pag/ddasecurityDefinitions: bearerAuth: type: apiKey in: header name: Authorization – application/json – application/jsonparameters: clientId: name: client_id type: string in: header required: true description: Identificação da aplicação cadastrada no portal do desenvolvedor (api.xplatform.com.br)paths: /accountsPayableDebitsAssociated: post: description: Evento disparado no final do processo de associação do título do contas a pagar com o título registrado no DDA x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – branch – associatedDebts properties: company: #/definitions/recCompany branch: #/definitions/recBranch associatedDebts: type: array items: #/definitions/recAssociatedDebt description: Títulos do contas a pagar associados com o DDA responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /accountsPayableDebitsProcessed: post: description: Evento disparado no final do processamento de débitos de contas a pagar x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – processId – accountsPayableDebits properties: processId: type: string description: Id do lote do processo accountsPayableDebits: type: array items: #/definitions/recAccountsPayableProcessingResultItem description: Resultado consolidado por título do contas a pagar responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /accountsPayableDebitsDisassociated: post: description: Evento disparado no final do processo de desassociação do título do contas a pagar com o título registrado no DDA x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – branch – disassociatedDebts properties: company: #/definitions/recCompany branch: #/definitions/recBranch disassociatedDebts: type: array items: #/definitions/recDisassociatedDebt description: Títulos do contas a pagar desassociados do DDA responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /accountPayableInactivationProcessed: post: description: Evento disparado ao término do processamento de inativação de títulos a pagar x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – processId – accountsPayable properties: processId: type: string description: Id do lote do processo accountsPayable: type: array items: #/definitions/recAccountPayableInactivationProcessed description: Informações dos títulos inativados responses: 200: description: Ok default: description: Error response schema: #/definitions/genericErrordefinitions: enumSituacaoDebito: type: string enum: – EM_ABERTO – LIQUIDADO enumAssociacaoDda: type: string enum: – ASSOCIADO_MANUALMENTE – NAO_ASSOCIADO – IGNORADO – DESASSOCIADO – AUTOMATICA_POR_OUTRA_FILIAL – AUTOMATICA_SEM_TOLERANCIA – AUTOMATICA_POR_RAIZ_CNPJ – AUTOMATICA_POR_TOLERANCIA_VALOR – AUTOMATICA_POR_TOLERANCIA_VENCIMENTO – AUTOMATICA_POR_TOLERANCIA_VALOR_E_VENCIMENTO recAssociatedDebt: type: object required: – accountPayableId – accountPayableNumber – accountPayableType – expirationDate – digitableLine – dueDate – value – debitSituation – favored properties: accountPayableId: type: string description: Identificador do título accountPayableNumber: type: string description: Número do título accountPayableType: type: string description: Tipo do título expirationDate: type: string description: Data de expiração format: date digitableLine: type: string description: Linha digitável dueDate: type: string description: Data de vencimento format: date value: type: string description: Valor do título a pagar debitSituation: #/definitions/enumSituacaoDebito favored: #/definitions/recFavored statusAssociation: #/definitions/enumAssociacaoDda dateTimeAssociation: type: string description: Data e hora da associação do DDA com contas a pagar format: date-time recFavored: type: object required: – documentNumber – name – bank properties: documentNumber: type: string description: Número do documento name: type: string description: Nome bank: #/definitions/recBankDDA recBankDDA: type: object required: – code – name properties: code: type: string description: Código do banco name: type: string description: Nome do banco recAccountsPayableProcessingResultItem: type: object required: – accountPayableId – hasError properties: accountPayableId: type: string description: Identificador do título hasError: type: boolean description: Indica se ocorreu erro no processamento message: type: string description: Mensagem de negócio da falha recAccountPayableInactivationProcessed: type: object required: – accountPayableId – hasError properties: accountPayableId: type: string description: Identificador do título a pagar hasError: type: boolean description: Indica se houve erro no processamento message: type: string description: Mensagem de erro em linguagem de negócio (nulo em caso de sucesso) recDisassociatedDebt: type: object required: – accountPayableId – accountPayableNumber – accountPayableType properties: accountPayableId: type: string description: Identificador do título accountPayableNumber: type: string description: Número do título accountPayableType: type: string description: Tipo do título recCompany: type: object properties: id: type: string description: Identificador do registro na plataforma code: type: integer description: Código recBranch: type: object properties: id: type: string description: Identificador do registro na plataforma code: type: integer description: Código documentNumber: type: string description: Número do documento nifNumber: type: string description: Número de identificação fiscal genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE