1. Travels
iBaaS
  • iBaaS
    • v1
      • Authentication
        • login webhooks
        • start-2fa-step-up
        • login
        • refresh
        • logout
      • BaaS
        • Account
          • create-description
          • Occupations
            • list
          • retrieve-from-provider
            • by-account-number
            • by-account-id
          • migrate-account
            • import-csv
            • list-account-migrated
            • create-account-in-matera
            • list-account-migration-logs
            • cancel-account
          • create
          • update
          • search
          • find
          • find-by-account-number
          • find-by-tax-id-number
          • get-balance
          • get-statement
          • inactivate
          • get-file
          • slip-details
          • search-invoices
          • search-recharges
          • update-cash-out-blocks
        • Cash In
          • make-pix-static-qr-code
          • make-pix-dynamic-qr-code
          • make-bank-slip
          • make-billing-slip
          • make-deposit
        • Cash Out
          • make-pix-transfer
          • make-pix-transfer-only-with-alias
          • make-non-priority-pix-transfer
          • make-bank-transfer (deprecated)
          • make-bank-transfer
          • make-bank-slip-payment (deprecated)
          • make-bank-slip-payment
          • make-utilities-payment
          • make-internal-transfer
          • return-internal-transfer
        • Transactions
          • get-transaction
          • get-withdraw
          • get-bank-slip-by-bar-code
          • lock-balance
          • unlock-balance
        • Pix
          • Aliases
            • Portabilidade de Alias (Chave)
            • list
            • exclude
            • create
            • alias-verification-code
            • get-destination-alias
            • alias-portability
            • alias-portability-confirmation
            • alias-portability-cancellation
            • alias-ownership-claims
            • alias-ownership-claims-responses
            • alias-ownership-claims-cancellation
          • Med
            • iBass
              • search
              • create
              • cancel
            • list
            • search
            • find
            • create
            • sent
            • in_analysis
            • approved
            • rejected
            • cancel
            • situation-types
            • med-types
            • med-status
          • Automatic
            • Recurrence
              • List Recurrences
              • Detail Recurrence
              • Authorize Recurrence
              • Save Recurrence With Authorization
            • Billing
              • Cancel Billing Scheduled
              • List Billings Scheduled
              • Detail Billing Scheduled
          • get-limits
          • return-codes
          • get-participants
          • returns
          • decode-qr-code
          • text-to-qr-code
        • Cellphone Recharge
          • get-carriers
          • get-avaliable-values
          • recharge
        • Webhook
          • set-accounts-webhook
          • search
        • Limits
          • get-limits
          • request-limit-update
          • search-update-limit-requests
          • process-limit-update
          • request-limit-update-in-batch
          • csv-limit-update
        • Batches and Billings
          • Charge Report
            • generate-pdf
            • search
          • billing-slip-payers
            • search-by
            • list
            • create
            • find
            • update
            • delete
            • search
          • validate-shipment
          • shipment_file
          • send-shipment-with-json
          • send-invoice
          • send-recharge
          • download-return-file-batch-id
          • download-return-file-period
          • get-batches
          • get-batch
          • get-billings
          • get-billing
          • regenerate-pdf
          • cancel-slip
        • receipt-of-bills
          • Mudar status boleto (dev)
        • Dock
          • Catalog
            • document
          • Onboarding
            • setup-types
            • schema-and-business
            • product-processes
            • update-account
            • reg-docs
            • agree-reg-docs
            • start-instance
            • file-upload
            • pending-files
            • customer-process
            • client-proposal
            • validate-token
            • get-onboarding-status
          • Account
            • get-account
            • get-account-balance
            • update-status
            • list-account-entries
            • check-limits
          • Account Manager
            • list-alias-via-account-identifier
            • create-banking-account
            • delete-banking-account
          • Pay
            • search-transfers
            • get-transfer
            • initiate-transfer
            • initiate-internal-transfer
            • cancel-scheduled-transfer
          • Pix
            • create-dict-key
            • send-payment
            • dynamic-qr-code
            • static-qr-code
            • validate-dict
            • search-payments
            • search-dicts
            • delete-dict-key
            • get-payment
            • create-pix-fraud-mark
          • Spending Controls
            • spending-controls
            • list-groups
            • list-group-persons
            • get-control
            • list-controls
            • update-control
        • Insurance
          • SulAmerica
            • Travels
              • quote
                POST
              • contract
                POST
              • contract-response
                POST
              • policy-consult
                POST
              • policy-second-copy
                POST
            • Life
      • Public Routers
        • validate-cnab400
  • Enums
    • PhysicalBusinessLineEnum
    • LegalBusinessLIneEnum
    • EstablishmentFormEnum
    • FinancialStatisticEnum
    • CountryEnum
    • AccountStatusEnum
    • DocumentsTypeEnum
    • MaritalStatusEnum
    • TestDataTableForPaymentSlips
    • CollectionWalletEnum
    • FineCodeEnum
    • RegistrationTypeEnum
    • Boletos
      • BillingSlipOriginTypeEnum
      • BatchBillingSlipFileTypeEnum
      • BillingSlipStatusEnum
      • OccurrenceCodeEnum
      • TitleTypeEnum
  • Esquemas
    • External Events
      • BaaS Dock
    • Ramos de Atividade
  1. Travels

contract

Em desenvolvimento
POST
/v1/baas/{account_id}/insurance/{product}/contract
Última modificação:2026-04-09 13:25:07

Requisição

Authorization
Forneça seu token bearer no cabeçalho
Authorization
ao fazer requisições para recursos protegidos.
Exemplo:
Authorization: Bearer ********************
Parâmetros de Caminho

Parâmetros Header

Parâmetros Bodyapplication/json

Exemplo
// Payload mínimo (somente obrigatórios)
{
  "quote_uuid": "5ed660ea-2de2-4295-810d-3386e43b19b6",
  "representative_code": 10001882,
  "system_origin_identifier": "RE",
  "trip_start_at": "2026-07-13",
  "trip_end_at": "2026-07-20",
  "destination_locality_id": 56,
  "origin_locality_id": 32,
  "trip_reason_id": 1,
  "transport_type_id": 5,
  "payment_method": {
    "type": "PIX"
  },
  "financial_responsible": {
    "document": "23374428509",
    "email": "responsavel@teste.com.br",
    "name": "Nome Responsavel Financeiro"
  },
  "travelers": [
    {
      "name": "Nome Viajante",
      "document": "10000001234",
      "birth_date": "1998-02-15",
      "email": "viajante@teste.com.br",
      "phone": "11-999999999",
      "traveler_external_id": 1,
      "primary_traveler_external_id": 1,
      "address": {
        "street": "Rua Teste",
        "number": "100",
        "district": "Centro",
        "zip_code": "01001000"
      },
      "plan": {
        "plan_code": 40,
        "coverages": [
          {
            "coverage_code": 412,
            "capital": 80000,
            "premium": 11.4
          },
          {
            "coverage_code": 413,
            "capital": 80000,
            "premium": 1.28
          },
          {
            "coverage_code": 122,
            "capital": 5000,
            "premium": 11.26
          }
        ],
        "services": []
      }
    }
  ]
}


// Payload completo
// {
//   "quote_uuid": "5ed660ea-2de2-4295-810d-3386e43b19b6",
//   "representative_code": 10001882,
//   "system_origin_identifier": "RE",
//   "trip_start_at": "2026-07-13",
//   "trip_end_at": "2026-07-20",
//   "destination_locality_id": 56,
//   "origin_locality_id": 32,
//   "trip_reason_id": 1,
//   "transport_type_id": 5,
//   "discount_coupon": "VIAGEM10",
//   "promoter_document": "12345678977",
//   "seller_document": "12345678977",
//   "policy_copy_email": "copia@email.com.br",
//   "promoter_email": "promotor@email.com.br",
//   "sale_link": "https://linkVenda.com.br",
//   "seller_login": "loginTeste",
//   "store_name": "Nome Loja Teste",
//   "promoter_name": "Nome Promotor Teste",
//   "seller_name": "Nome Vendedor Teste",
//   "promoter_phone": "11-999999999",
//   "production_data": {
//     "aa": "36290",
//     "av": "0",
//     "ea": "69630",
//     "ev": "2908964",
//     "uop_emissao": "337",
//     "uop_negocio": "5613"
//   },
//   "payment_method": {
//     "type": "PIX"
//   },
//   "financial_responsible": {
//     "document": "23374428509",
//     "birth_date": "1980-01-15",
//     "email": "responsavel@teste.com.br",
//     "name": "Nome Responsavel Financeiro",
//     "gender": "M"
//   },
//   "travelers": [
//     {
//       "name": "Nome Viajante",
//       "document": "10000001234",
//       "birth_date": "1998-02-15",
//       "email": "email@teste.com.br",
//       "phone": "11-123456789",
//       "social_name": "Nome Social",
//       "identifier": "00154",
//       "issuing_country": "Brasil",
//       "passport": "PAS654654",
//       "occupation": "Administrador",
//       "income": 2000,
//       "monthly_income_informed": false,
//       "covered_days_quantity": 10,
//       "coverage_start_at": "2026-07-13",
//       "coverage_end_at": "2026-07-20",
//       "kinship_degree": "OTR",
//       "traveler_external_id": 3234234,
//       "primary_traveler_external_id": 3234234,
//       "address": {
//         "street": "Logradouro Teste",
//         "number": "256",
//         "district": "Bairro Teste",
//         "city": "Sao Paulo",
//         "state": "SP",
//         "zip_code": "87000000",
//         "complement": "Complemento teste"
//       },
//       "legal_responsible": {
//         "document": "23370577509",
//         "birth_date": "1975-01-15",
//         "email": "responsavellegal@teste.com.br",
//         "name": "Nome Responsavel Legal",
//         "kinship_degree": "OTR",
//         "issuing_country": "Brasil",
//         "passport": "RE9823",
//         "address": {
//           "street": "Logradouro Teste",
//           "number": "256",
//           "district": "Bairro Teste",
//           "city": "Sao Paulo",
//           "state": "SP",
//           "zip_code": "87000000",
//           "complement": "Complemento teste"
//         }
//       },
//       "plan": {
//         "plan_code": 40,
//         "coverages": [
//           {
//             "coverage_code": 412,
//             "capital": 80000,
//             "premium": 11.4
//           },
//           {
//             "coverage_code": 413,
//             "capital": 80000,
//             "premium": 1.28
//           },
//           {
//             "coverage_code": 122,
//             "capital": 5000,
//             "premium": 11.26
//           }
//         ],
//         "services": [
//           {
//             "service_code": 1,
//             "cost": 0
//           },
//           {
//             "service_code": 2,
//             "cost": 0
//           },
//           {
//             "service_code": 3,
//             "cost": 0
//           }
//         ]
//       }
//     }
//   ]
// }

Respostas

🟢200Success
application/json
Body

Exemplo
{}
Página anterior
quote
Próxima página
contract-response
Built with