2.0info: 1.7.0 salario description: Serviço de salário x-senior-domain: Domínio de pagamento do Banking x-senior-domain-path: erpx_bnk_pag x-senior-service-path: salario contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: api.senior.com.br /erpx_bnk_pag/salariosecurityDefinitions: 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: /payrollScheduled: post: description: Evento público responsável pelo retorno do agendamento da folha salarial no banco x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – accountsPayable properties: accountsPayable: type: array items: #/definitions/recAccountsPayableScheduled description: Lista de pagamentos responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /payrollPaid: post: description: Evento público responsável pelo retorno do pagamento da folha salarial x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – accountsPayable properties: accountsPayable: type: array items: #/definitions/recAccountsPayablePaid description: Lista de pagamentos responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /payrollCanceled: post: description: Evento público responsável pelo cancelamento de títulos de pagamento de folha x-senior-event: true deprecated: false tags: – Events security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – accountPayableId properties: accountPayableId: type: array items: type: string description: Identificador dos títulos responses: 200: description: Ok default: description: Error response schema: #/definitions/genericErrordefinitions: enumSituationScheduled: type: string enum: – SCHEDULED – NOT_SCHEDULED recAccountsPayableScheduled: type: object required: – accountPayableId – situation properties: accountPayableId: type: string description: Identificador único do título a pagar (referência ao contas a pagar) situation: #/definitions/enumSituationScheduled occurrences: type: array items: #/definitions/recOcurrence description: Ocorrências informativas retornadas pelo banco (avisos/alertas) errors: type: array items: #/definitions/recError description: Lista de erros críticos no agendamento do pix recOcurrence: type: object required: – code – description properties: code: type: string description: Código description: type: string description: Descrição recError: type: object required: – message properties: message: type: string description: Mensagem de erro field: type: string description: Campo do erro recAccountsPayablePaid: type: object required: – accountPayableId – payDate – amountPaid properties: accountPayableId: type: string description: Identificador do título payDate: type: string description: Data de pagamento format: date amountPaid: type: string description: Valor do pagamento bankAuthentication: type: string description: Autenticação bancária occurrences: type: array items: #/definitions/recOcurrence description: Ocorrências 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