1. Travels
Core Banking
  • iBaaS
    • v1
      • Authentication
        • login
        • login-2fa
        • refresh
        • logout
      • BaaS
        • Account
          • create-description
          • Occupations
            • list
          • create
          • update
          • search
          • find
          • find-by-account-number
          • find-by-tax-id-number
          • create-dependent
          • get-balance
          • get-statement
          • get-account-statement-metadata
          • inactivate
          • get-file
          • slip-details
          • search-invoices
          • search-recharges
        • Cash In
          • make-pix-static-qr-code
          • make-pix-dynamic-qr-code
          • make-billing-slip
          • make-deposit
        • Cash Out
          • make-pix-transfer
          • make-pix-transfer-only-with-alias
          • make-non-priority-pix-transfer (deprecated)
          • 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-transactions-by-id
          • get-transaction
          • get-withdraw
          • get-bank-slip-by-bar-code
          • lock-balance
          • get-original-by-refund-id
          • unlock-balance
          • get-proof
        • 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
          • Med V2
            • iBass
              • list
              • create
              • find
              • cancel
          • 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
          • Examples
            • WEBHOOK NOTIFICATIONS
          • set-accounts-webhook
          • create
          • list
          • find
          • update
          • delete
        • Limits
          • get-limits
          • request-limit-update
          • search-update-limit-requests
          • process-limit-update
          • request-limit-update-in-batch
          • csv-limit-update
          • download-limit-update-billing-proof
        • 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
          • get-payment-slip-pdf
          • download-return-file-batch-id
          • download-return-file-period
          • get-batches
          • ge-batch-timeline
          • get-batch
          • get-billings
          • get-billing
          • regenerate-pdf
          • cancel-slip
          • get-payment-slip
          • slip-webhook-simulation
        • receipt-of-bills
          • Mudar status boleto (dev)
        • Insurance
          • SulAmerica
            • Travels
              • quote
                POST
              • checkpoint
                POST
              • contract
                POST
              • contract-response
                POST
              • policy-second-copy
                POST
              • cancel
                POST
              • cancel-response
                POST
              • search-localities
                POST
              • pix-consult
                POST
              • list
                GET
              • details
                GET
              • policy-response
                POST
            • Life
        • Transaction History Code
          • search
          • list
          • create
          • find
          • update
          • delete
          • activate
      • Public Routers
        • validate-cnab400
        • onboarding-webhook
  • 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-08-27 12:53:12

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": "239a0433-33a0-47f6-96dc-49a0e027cd64",
//   "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": "13202705814",
//     "email": "francisco.otavio@gmail.com.br",
//     "name": "Francisco Otávio Diego Ferreira"
//   },
//   "travelers": [
//     {
//       "name": "Pietro Miguel Jorge Monteiro",
//       "document": "18025395731",
//       "birth_date": "1998-02-15",
//       "email": "pietro,monteiro@gmail.com.br",
//       "phone": "11-984032665",
//       "traveler_external_id": 1,
//       "primary_traveler_external_id": 1,
//       "address": {
//         "street": "Rua Costa Rica",
//         "number": "11",
//         "district": "Quitandinha",
//         "zip_code": "25651040"
//       },
//       "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": "{{quoteUuid}}",
  "representative_code": 10001882,
  "system_origin_identifier": "RE",
  "trip_start_at": "2026-09-13",
  "trip_end_at": "2026-09-20",
  "destination_locality_id": 56,
  "origin_locality_id": 32,
  "trip_reason_id": 1,
  "transport_type_id": 5,
  "discount_coupon": "",
  "promoter_document": "88457319280",
  "seller_document": "44263682432",
  "policy_copy_email": "sofia@gmail.com.br",
  "promoter_email": "saul@gmail.com.br",
  "sale_link": "https://linkVenda.com.br",
  "seller_login": "felipe.paulo",
  "store_name": "ViagemFácil",
  "promoter_name": "Lívia Malu Duarte",
  "seller_name": "Felipe Paulo",
  "promoter_phone": "11-983831209",
  "production_data": {
    "aa": "36290",
    "av": "0",
    "ea": "69630",
    "ev": "2908964",
    "uop_emissao": "337",
    "uop_negocio": "5613"
  },
  // Para pagamento via PIX
  // "payment_method": {
  //   "type": "PIX"
  // },
  // Para pagamento via cartão
  "payment_method": {
    "type": "CAR",
    "card_brand": "1",
    "card_number": "4111111111111111",
    "card_cvv": "203",
    "card_exp_month": "06",
    "card_exp_year": "2030",
    "card_holder_name": "Oliver Ricardo Edson Nunes",
    "installments_quantity": 1,
    "payer_document": "34626731490",
    "payer_email": "oliver.nunes@gmail.com.br",
    "payer_phone": "11-984827292",
    "payer_zip_code": "20751390",
    "payer_city": "Rio de Janeiro",
    "payer_state": "RJ",
    "payer_address": "Rua Paranapiacaba, 69",
    "payer_address_complement": "Perto da Escola Municipal"
  },
  "financial_responsible": {
    "document": "52012109969",
    "birth_date": "1980-01-15",
    "email": "arthur.henry@gmail.com.br",
    "name": "Arthur Henry Barros",
    "gender": "M"
  },
  "travelers": [
    {
      "name": "Oliver Ricardo Edson Nunes",
      "document": "34626731490",
      "birth_date": "1998-02-15",
      "email": "oliver.nunes@gmail.com.br",
      "phone": "11-984827292",
      "social_name": "Oliver Ricardo Edson Nunes",
      "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": "Rua Paranapiacaba",
        "number": "69",
        "district": "Piedade",
        "city": "Rio de Janeiro",
        "state": "RJ",
        "zip_code": "20751390",
        "complement": "Perto da Escola Municipal"
      },
      "legal_responsible": {
        "document": "52012109969",
        "birth_date": "1975-01-15",
        "email": "arthur.henry@gmail.com.br",
        "name": "Arthur Henry Barros",
        "kinship_degree": "OTR",
        "issuing_country": "Brasil",
        "passport": "RE9823",
        "address": {
          "street": "Rua Projetada",
          "number": "256",
          "district": "Belo Jardim I",
          "city": "Rio Branco",
          "state": "AC",
          "zip_code": "69907836",
          "complement": ""
        }
      },
      "plan": {
        "plan_code": 40,
        "coverages": [
          { "coverage_code": 412, "capital": 80000, "premium": 20.56 },
          { "coverage_code": 413, "capital": 80000, "premium": 2.31 },
          { "coverage_code": 122, "capital": 5000, "premium": 20.31 },
          { "coverage_code": 145, "capital": 4000, "premium": 3.79 },
          { "coverage_code": 414, "capital": 1800, "premium": 21.8 },
          { "coverage_code": 236, "capital": 100000, "premium": 570.35 },
          { "coverage_code": 422, "capital": 3000, "premium": 6.99 },
          { "coverage_code": 141, "capital": 40000, "premium": 30.46 },
          { "coverage_code": 403, "capital": 120, "premium": 8.07 },
          { "coverage_code": 405, "capital": 120, "premium": 4.59 },
          { "coverage_code": 404, "capital": 120, "premium": 13.86 },
          { "coverage_code": 142, "capital": 40000, "premium": 17.09 },
          { "coverage_code": 143, "capital": 40000, "premium": 4.56 },
          { "coverage_code": 415, "capital": 1800, "premium": 16.34 },
          { "coverage_code": 416, "capital": 1000, "premium": 1.74 },
          { "coverage_code": 417, "capital": 2000, "premium": 1.05 },
          { "coverage_code": 418, "capital": 1000, "premium": 0.53 },
          { "coverage_code": 419, "capital": 1800, "premium": 1.54 },
          { "coverage_code": 42, "capital": 5000, "premium": 1.24 },
          { "coverage_code": 421, "capital": 1000, "premium": 2.14 },
          { "coverage_code": 420, "capital": 1800, "premium": 4.01 }
        ],
        "services": [
          {
            "service_code": 1,
            "cost": 0
          },
          {
            "service_code": 2,
            "cost": 0
          },
          {
            "service_code": 3,
            "cost": 0
          },
          {
            "service_code": 4,
            "cost": 0
          }
        ]
      }
    },
    {
      "name": "Oliver Ricardo Edson Nunes",
      "document": "83713111090",
      "birth_date": "1998-02-15",
      "email": "oliver.nunes@gmail.com.br",
      "phone": "11-984827292",
      "social_name": "Oliver Ricardo Edson Nunes",
      "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": "Rua Paranapiacaba",
        "number": "69",
        "district": "Piedade",
        "city": "Rio de Janeiro",
        "state": "RJ",
        "zip_code": "20751390",
        "complement": "Perto da Escola Municipal"
      },
      "legal_responsible": {
        "document": "52012109969",
        "birth_date": "1975-01-15",
        "email": "arthur.henry@gmail.com.br",
        "name": "Arthur Henry Barros",
        "kinship_degree": "OTR",
        "issuing_country": "Brasil",
        "passport": "RE9823",
        "address": {
          "street": "Rua Projetada",
          "number": "256",
          "district": "Belo Jardim I",
          "city": "Rio Branco",
          "state": "AC",
          "zip_code": "69907836",
          "complement": ""
        }
      },
      "plan": {
        "plan_code": 40,
        "coverages": [
          { "coverage_code": 412, "capital": 80000, "premium": 20.56 },
          { "coverage_code": 413, "capital": 80000, "premium": 2.31 },
          { "coverage_code": 122, "capital": 5000, "premium": 20.31 },
          { "coverage_code": 145, "capital": 4000, "premium": 3.79 },
          { "coverage_code": 414, "capital": 1800, "premium": 21.8 },
          { "coverage_code": 236, "capital": 100000, "premium": 570.35 },
          { "coverage_code": 422, "capital": 3000, "premium": 6.99 },
          { "coverage_code": 141, "capital": 40000, "premium": 30.46 },
          { "coverage_code": 403, "capital": 120, "premium": 8.07 },
          { "coverage_code": 405, "capital": 120, "premium": 4.59 },
          { "coverage_code": 404, "capital": 120, "premium": 13.86 },
          { "coverage_code": 142, "capital": 40000, "premium": 17.09 },
          { "coverage_code": 143, "capital": 40000, "premium": 4.56 },
          { "coverage_code": 415, "capital": 1800, "premium": 16.34 },
          { "coverage_code": 416, "capital": 1000, "premium": 1.74 },
          { "coverage_code": 417, "capital": 2000, "premium": 1.05 },
          { "coverage_code": 418, "capital": 1000, "premium": 0.53 },
          { "coverage_code": 419, "capital": 1800, "premium": 1.54 },
          { "coverage_code": 42, "capital": 5000, "premium": 1.24 },
          { "coverage_code": 421, "capital": 1000, "premium": 2.14 },
          { "coverage_code": 420, "capital": 1800, "premium": 4.01 }
        ],
        "services": [
          {
            "service_code": 1,
            "cost": 0
          },
          {
            "service_code": 2,
            "cost": 0
          },
          {
            "service_code": 3,
            "cost": 0
          },
          {
            "service_code": 4,
            "cost": 0
          }
        ]
      }
    }
  ]
}

Respostas

🟢200Success
application/json
Bodyapplication/json

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