openapi: 3.2.0 info: title: Sagas Sinistros API version: v1 contact: email: engineers@180s.com.br servers: - url: //sagas.staging.180s.com.br security: - oauth: [] tags: - name: Sinistros paths: /sagas/v1/sinistros/whitelabel/gerar-url: post: responses: '200': description: '' content: '*/*': schema: type: object title: camaleao.lib.schema.contracts.sagas.wire-out/GerarUrlWhitelabelSinistrosResposta properties: url: type: string additionalProperties: false required: - url requestBody: content: application/json: schema: type: object title: camaleao.lib.schema.contracts.sagas.wire-in/GerarUrlWhitelabelSinistrosRequisicao properties: id-venda: type: string format: uuid id-usuario: type: string detalhes-pagamento: type: object title: camaleao.lib.schema.contracts.sagas.wire-in/SinistroDetalhesPagamento properties: beneficiario: type: object title: camaleao.lib.schema.contracts.sagas.wire-in/BeneficiarioSinistro properties: tipo: type: string enum: - segurado - credor - outro nome: type: string cpf-ou-cnpj: type: string pattern: ^([0-9]{11}|[A-Z0-9]{12}[0-9]{2})$ example: '57036536306' additionalProperties: false required: - tipo - nome - cpf-ou-cnpj dados-pagamento: type: object properties: metodo-pagamento: type: string enum: - boleto - pix-brcode - ted - pix pix: type: object properties: chave: type: string conta-bancaria: type: object title: camaleao.lib.schema.contracts.sagas.wire-in/SinistroPagamentoPixContaBancaria properties: agencia: type: string pattern: ^[0-9]*$ example: '4400' conta: type: string pattern: ^[0-9]*$ example: '84002483' agencia-digito-verificador: type: string conta-digito-verificador: type: string banco: type: string pattern: ^[0-9]{8}$ example: '22135451' additionalProperties: false required: - agencia - conta - banco additionalProperties: false example: chave: =s}/D&=~x1 pix-brcode: type: object title: camaleao.lib.schema.contracts.sagas.wire-in/SinistroPagamentoPixBrcode properties: brcode: type: string additionalProperties: false required: - brcode ted: type: object title: camaleao.lib.schema.contracts.sagas.wire-in/SinistroPagamentoTed properties: agencia: type: string pattern: ^[0-9]*$ example: '48602104' conta: type: string pattern: ^[0-9]*$ example: '7850042199' agencia-digito-verificador: type: string conta-digito-verificador: type: string banco: type: string pattern: ^[0-9]{3}$ example: '322' additionalProperties: false required: - agencia - conta - banco boleto: type: object title: camaleao.lib.schema.contracts.sagas.wire-in/SinistroPagamentoBoleto properties: codigo-de-barras: type: string additionalProperties: false required: - codigo-de-barras additionalProperties: false required: - metodo-pagamento example: metodo-pagamento: boleto pix: chave: h*-\De#T$ pix-brcode: brcode: '[k6PRN}O#' boleto: codigo-de-barras: Z`m