Skip to main content

Retrieve order data

GET 

/orders/:order_id

Retrieves details of a purchase order

Request​

Path Parameters

    order_id stringrequired

Responses​

Success

Schema
    id stringrequired

    Purchase order ID.

    createDate stringnullable

    Creation date.

    updateDate stringnullable

    Last modification date.

    buyerName stringnullable

    Buyer's name.

    buyerEmail stringnullable

    Buyer's email.

    buyerCpf stringnullable

    Buyer's document. Ex: CPF (Brazilian individual taxpayer registry).

    buyerPhone stringnullable

    Buyer's phone number.

    buyerUsername stringnullable

    Buyer's username.

    buyerPassport stringnullable

    Buyer's passport.

    buyerPersonId stringnullable

    Buyer's person ID.

    buyerPersonLoyaltyData object[]nullable

    List of the buyer's loyalty programs.

  • Array [
  • id stringnullable

    Loyalty program ID.

    alias stringnullable

    Loyalty programs alias.

    balance numbernullable

    Balance.

    nextExpirationAt stringnullable

    Next expiration.

    nextExpirationValue numbernullable

    Next expiration amount.

    tier stringnullable

    Loyalty value.

  • ]
  • clientId stringnullable

    Client ID.

    clientName stringnullable

    Client name.

    clientVat stringnullable

    Client's VAT number (CNPJ for Brazil).

    clientExternalCode stringnullable

    External or integration code defined for the client.

    items object[]required

    Items that make up the order. Ex: hotel reservations, airline tickets.

  • Array [
  • id stringrequired

    Item ID.

    type required

    Possible values: [HOTEL, ADDON, BUS, CAR]

    Reservation type.

    createDate stringnullable

    Creation date.

    updateDate stringnullable

    Last modification date.

    status stringrequired

    Possible values: [CONFIRMED, WAITING_CONFIRMATION, CANCELLED, LOST]

    Current status. WAITING_CONFIRMATION applies to CAR item type only, while the reservation awaits supplier confirmation (Ex: credit analysis pending).

    startDate stringnullable

    Service start date. Always present when item type is HOTEL, BUS or CAR. Ex: Check-in, first leg's departure date for BUS, or pick-up date for CAR.

    endDate stringnullable

    Service end date. Always present when item type is HOTEL, BUS or CAR. Ex: Check-out, last leg's arrival date for BUS, or return date for CAR.

    locator stringnullable

    Reservation locator with the supplier, according to the credential type.

    credentialId stringnullable

    Supplier integration credential ID.

    credentialAlias stringnullable

    Supplier integration credential name.

    credentialType stringnullable

    Supplier integration credential type.

    productId stringnullable

    Product/supplier ID of the contracted service, according to the item type. Ex: Hotel ID, Bus company ID, Rental company ID (CAR). References the suppliers node.

    productName stringnullable

    Name of the contracted product, according to the item type. Ex: Hotel Name, Bus company Name, Rental company Name (CAR)

    productDescription stringnullable

    Description of the contracted product, according to the item type. Ex: Addon Name

    cityName stringnullable

    City name.

    countryCode stringnullable

    ISO 3166-1 alpha-2 country code. Ex: BR

    primaryGuestName stringnullable

    Primary traveler's name. For CAR item type, the primary driver's name.

    primaryGuestEmail stringnullable

    Primary traveler's email. For CAR item type, the primary driver's email.

    primaryGuestCpf stringnullable

    Primary traveler's CPF (Brazilian individual taxpayer registry). For CAR item type, the primary driver's CPF.

    primaryGuestPhone stringnullable

    Primary traveler's phone number. For CAR item type, the primary driver's phone number.

    primaryGuestPassport stringnullable

    Primary traveler's passport. For CAR item type, the primary driver's passport.

    primaryGuestPersonId stringnullable

    Primary traveler's person ID.

    paymentType stringnullable

    Type of payment method to the supplier.

    paymentAlias stringnullable

    Description of the payment method to the supplier.

    paymentCreditCard objectnullable
    number stringnullable

    Masked card number.

    holder stringnullable

    Cardholder's name.

    brand stringnullable

    Card brand.

    expirationDate stringnullable

    Card expiration date.

    supplierPaymentType stringnullable

    CAR item type only. Payment mode sent to the supplier: INVOICED or PAY_AT_COUNTER.

    supplierPaymentAlias stringnullable

    CAR item type only. Description of the payment mode sent to the supplier. Ex: Faturado, Direto no balcão.

    createdById stringnullable

    ID of the issuing user.

    createdByName stringnullable

    Name of the issuing user.

    totalReservationPayable numbernullable

    Amount due to the supplier for the reservation purchase, including taxes. For CAR item type, considers only INVOICED charges; "0" when supplierPaymentType = PAY_AT_COUNTER.

    totalReservationPayCurrency stringnullable

    Purchase currency (supplier).

    totalReservationOriginalPriceCurrency stringnullable

    Original purchase currency.

    totalReservationOriginalPrice numbernullable

    Reservation purchase value in the original currency, including taxes. For CAR item type, considers only INVOICED charges; "0" when supplierPaymentType = PAY_AT_COUNTER.

    totalReservationPrice numbernullable

    Reservation purchase price, including taxes, in the same purchase currency (client). For CAR item type, considers only INVOICED charges; "0" when supplierPaymentType = PAY_AT_COUNTER.

    totalReservationTaxes numbernullable

    Taxes included in the purchase price, in the same purchase currency (client). For CAR item type, considers only INVOICED charges with type = TAX; "0" when supplierPaymentType = PAY_AT_COUNTER.

    totalReservationInsurance numbernullable

    Insurance amount included in the reservation. CAR item type: always null — the protection cost is exported in carRentals[].charges with type = PROTECTION.

    totalReservationInsuranceCurrency stringnullable

    Insurance amount currency. CAR item type: always null.

    totalReservationCurrency stringnullable

    Purchase currency (client).

    totalReservationReceivable numbernullable

    Reservation sale value. For CAR item type, considers only INVOICED charges; "0" when supplierPaymentType = PAY_AT_COUNTER.

    totalReservationReceiveCurrency stringnullable

    Sale currency.

    totalReservationPayAtCounter numbernullable

    CAR item type only. Total amount paid by the driver directly at the rental store (sum of PAY_AT_COUNTER charges). Informative: not included in totalReservationPayable, totalReservationReceivable or in payments. "0" when there is no pay-at-counter charge.

    totalReservationPayAtCounterCurrency stringnullable

    CAR item type only. Currency of totalReservationPayAtCounter.

    totalCommissionPayable numbernullable

    Commission amount to be paid to the seller. For CAR item type, considers only INVOICED charges; "0" when supplierPaymentType = PAY_AT_COUNTER.

    totalCommissionPayCurrency stringnullable

    Currency of the commission to be paid.

    totalCommissionReceivable numbernullable

    Commission amount to be received for the sale. For CAR item type, considers only INVOICED charges; "0" when supplierPaymentType = PAY_AT_COUNTER.

    totalCommissionReceiveCurrency stringnullable

    Currency of the commission to be received.

    supplierId stringnullable

    Item's payment supplier ID.

    hotelRooms object[]nullable

    HOTEL item type only. List of reserved rooms.

  • Array [
  • id stringnullable

    Room ID.

    name stringnullable

    Room description.

    guests object[]required

    Guest identification.

  • Array [
  • firstName stringnullable

    Guest's first name.

    lastName stringnullable

    Guest's last name.

    ageQualifying stringrequired

    Possible values: [ADULT, CHILD]

    Age qualifier.

    age integernullable

    Guest's age.

    cpf stringnullable

    Guest's CPF (Brazilian individual taxpayer registry).

    phone stringnullable

    Guest's phone number.

    email stringnullable

    Guest's email.

    addressCity stringnullable

    Guest's city.

    addressComplement stringnullable

    Guest's address complement.

    addressDistrict stringnullable

    Guest's district/neighborhood.

    addressNumber stringnullable

    Guest's street number.

    addressState stringnullable

    Guest's state.

    addressStreet stringnullable

    Guest's street.

    addressZipCode stringnullable

    Guest's zip code.

    birthCertificate stringnullable

    Guest's birth certificate.

    country stringnullable

    Guest's country.

    dob stringnullable

    Guest's date of birth.

    nationality stringnullable

    Guest's nationality.

    passport stringnullable

    Guest's passport.

    primary booleannullable

    Indicates the primary guest.

    rg stringnullable

    Guest's RG (Brazilian ID card).

  • ]
  • startDate stringrequired

    Service start date. Ex: Check-in.

    endDate stringrequired

    Service end date. Ex: Check-out.

    status stringrequired

    Possible values: [CONFIRMED, CANCELLED, LOST]

    Current room status.

    cancelDate stringnullable

    Cancellation date. Only applicable when status = 'CANCELLED'.

    ratePlanName stringnullable

    Rate plan description.

    meal stringnullable

    Meal plan type

    nights object[]required

    Nightly stays for the period.

  • Array [
  • date stringrequired

    Date of the nightly stay.

    percent numberrequired

    Percentage share of the nightly rate in the total room purchase price.

  • ]
  • cancelPolicy objectnullable
    nonRefundable booleannullable

    Indicates a non-refundable rate.

    penaltyDate stringnullable

    Deadline for cancellation without penalty.

    penaltyValue numbernullable

    Penalty amount, in case of cancellation with penalty.

    penaltyCurrency stringnullable

    Penalty currency.

    cancelledInPenalty booleannullable

    Indicates cancellation with penalty. Only applicable when status = 'CANCELLED'.

    supplierCancelPolicy objectnullable
    nonRefundable booleannullable

    Indicates a non-refundable rate.

    penaltyDate stringnullable

    Deadline for cancellation without penalty.

    penaltyValue numbernullable

    Penalty amount, in case of cancellation with penalty.

    penaltyCurrency stringnullable

    Penalty currency.

    cancelledInPenalty booleannullable

    Indicates cancellation with penalty. Only applicable when status = 'CANCELLED'.

    totalRoomPrice numbernullable

    Room purchase price, including taxes.

    totalRoomPriceCurrency stringnullable

    Room purchase currency.

    totalRoomTaxes numbernullable

    Taxes included in the purchase price, in the same purchase currency.

    taxesBreakdown object[]

    Tax details.

  • Array [
  • value numberrequired

    Tax value.

    currency stringrequired

    Tax currency.

    description stringrequired

    Tax description.

  • ]
  • supplierRoomTaxes numbernullable

    Taxes included in the supplier price.

    supplierRoomTaxesCurrency stringnullable

    Currency of the taxes included in the supplier price.

    supplierRoomTaxesBreakdown object[]

    Supplier tax details.

  • Array [
  • value numberrequired

    Tax value.

    currency stringrequired

    Tax currency.

    description stringrequired

    Tax description.

  • ]
  • ]
  • busRoutes object[]nullable

    BUS item type only. List of legs/routes for this direction of the trip. Has two entries when this leg has a connection (baldeação); a round trip is not represented here — it produces two separate BUS items instead (one per direction), each with its own busRoutes.

  • Array [
  • id stringrequired

    Zero-based sequential index of this leg within the reservation's busRoutes, as a string: '0' for the direct/outbound leg, '1' for a connecting leg, '2' for a further connection if present, and so on. Not a supplier travel/connection identifier.

    company stringnullable

    Operating bus company for this leg.

    equipmentType stringnullable

    Service class/equipment type. Ex: 'Leito cama'.

    departureLocation objectnullable
    code stringnullable

    Terminal/station code.

    name stringnullable

    Terminal/station name.

    departureDateTime stringnullable

    Departure date and time.

    arrivalLocation objectnullable
    code stringnullable

    Terminal/station code.

    name stringnullable

    Terminal/station name.

    arrivalDateTime stringnullable

    Arrival date and time.

    status stringnullable

    Current status of this leg.

    guests object[]

    Passengers of this leg.

  • Array [
  • firstName stringnullable

    Passenger's first name. Not available from the supplier today.

    lastName stringnullable

    Passenger's last name. Not available from the supplier today.

    ageQualifying stringnullable

    Age qualifier (ADULT/CHILD). Not available from the supplier today.

    age integernullable

    Passenger's age. Not available from the supplier today.

    cpf stringnullable

    Passenger's CPF (Brazilian individual taxpayer registry).

    phone stringnullable

    Passenger's phone number. Not available from the supplier today.

    email stringnullable

    Passenger's email. Not available from the supplier today.

    gender stringnullable

    Passenger's gender. Not available from the supplier today.

    seatNumber stringnullable

    Confirmed seat number. Not persisted from the booking confirmation today.

    ticketNumber stringnullable

    Supplier ticket number. Not persisted from the booking confirmation today.

    voucherUrl stringnullable

    Boarding voucher URL. Not persisted from the booking confirmation today.

    dob stringnullable

    Passenger's date of birth.

    nationality stringnullable

    Passenger's nationality. Not available from the supplier today.

    passport stringnullable

    Passenger's passport. Not available from the supplier today.

    primary booleannullable

    Indicates the primary passenger. Not available from the supplier today.

    rg stringnullable

    Passenger's RG (Brazilian ID card). Not available from the supplier today.

  • ]
  • cancelPolicy objectnullable

    Cancellation policy for this leg, as returned by the supplier.

    totalRoutePrice numbernullable

    Leg purchase price, including taxes.

    totalRoutePriceCurrency stringnullable

    Leg purchase currency.

    totalRouteTaxes numbernullable

    Taxes included in the leg purchase price.

  • ]
  • carRentals object[]nullable

    CAR item type only. Car rental detail. Always has exactly one element.

  • Array [
  • id stringrequired

    Sequential index of the rental within the item ("0").

    rentalCompany stringnullable

    Rental company name.

    status stringnullable

    Possible values: [CONFIRMED, WAITING_CONFIRMATION, CANCELLED]

    Niara status of the rental, following the same mapping as the item status.

    supplierStatus stringnullable

    Original supplier status. Ex: Movida - Booked, Approved, Confirmed, Canceled.

    cancelDate stringnullable

    Cancellation date/time. Null when not cancelled.

    pickUpDateTime stringnullable

    Pick-up date and time (UTC).

    pickUpLocation objectnullable
    code stringnullable

    Store/station code (IATA or Sabre). Ex: GRU.

    name stringnullable

    Store/station name.

    address stringnullable

    Store address.

    cityName stringnullable

    Store city.

    stateCode stringnullable

    Store state code.

    countryCode stringnullable

    ISO 3166-1 alpha-2 country code. Ex: BR

    phone stringnullable

    Store phone number.

    latitude numbernullable

    Store latitude, in decimal degrees.

    longitude numbernullable

    Store longitude, in decimal degrees.

    returnDateTime stringnullable

    Return date and time (UTC).

    returnLocation objectnullable
    code stringnullable

    Store/station code (IATA or Sabre). Ex: GRU.

    name stringnullable

    Store/station name.

    address stringnullable

    Store address.

    cityName stringnullable

    Store city.

    stateCode stringnullable

    Store state code.

    countryCode stringnullable

    ISO 3166-1 alpha-2 country code. Ex: BR

    phone stringnullable

    Store phone number.

    latitude numbernullable

    Store latitude, in decimal degrees.

    longitude numbernullable

    Store longitude, in decimal degrees.

    rentalDays integernullable

    Number of rental days.

    vehicle objectnullable

    Specifications not returned by the supplier are exported as null.

    groupCode stringnullable

    Vehicle group code. Ex: B.

    groupName stringnullable

    Vehicle group description. Ex: Grupo B - Hatch Compacto 1.0.

    acrissCode stringnullable

    ACRISS code. Ex: EDMR.

    model stringnullable

    Reference vehicle model.

    orSimilar booleannullable

    Indicates whether the reserved vehicle is the reference model "or similar".

    transmission stringnullable

    Possible values: [MANUAL, AUTOMATIC]

    Transmission type.

    airConditioning booleannullable

    Indicates whether the vehicle has air conditioning.

    passengers integernullable

    Passenger capacity.

    baggage integernullable

    Baggage capacity.

    doors integernullable

    Number of doors.

    mileage stringnullable

    Mileage policy: UNLIMITED (free mileage) or the allowance informed by the supplier.

    imageUrl stringnullable

    Vehicle image URL.

    drivers object[]

    Rental drivers.

  • Array [
  • firstName stringnullable

    Driver's first name.

    lastName stringnullable

    Driver's last name.

    ageQualifying stringnullable

    Age qualifier (ADULT/CHILD), when informed.

    age integernullable

    Driver's age, when informed.

    dob stringnullable

    Driver's date of birth, when informed.

    cpf stringnullable

    Driver's CPF (Brazilian individual taxpayer registry).

    passport stringnullable

    Driver's passport.

    rg stringnullable

    Driver's RG (Brazilian ID card).

    nationality stringnullable

    Driver's nationality.

    phone stringnullable

    Driver's phone number.

    email stringnullable

    Driver's email.

    primary booleannullable

    Indicates the primary driver.

  • ]
  • rateQualifier stringnullable

    Specific rate used in the reservation. Null when not used.

    promotionCode stringnullable

    Promotional code used in the reservation. Null when not used.

    charges object[]

    Rental charges.

  • Array [
  • type stringrequired

    Possible values: [BASE_RATE, PROTECTION, EXTRA, ADDITIONAL_DRIVER, ONE_WAY_FEE, TAX]

    Charge type: BASE_RATE (rate/daily rent), PROTECTION, EXTRA (optional), ADDITIONAL_DRIVER, ONE_WAY_FEE (one-way/return fee) or TAX (rental company tax).

    code stringnullable

    Supplier code for the charge. Ex: LDW.

    description stringnullable

    Charge description. Ex: Proteção do Veículo (LDW).

    quantity integernullable

    Charged quantity.

    unit stringnullable

    Possible values: [DAY, UNIT, RENTAL]

    Charge unit: DAY (per rental day), UNIT (per unit) or RENTAL (per rental).

    paymentMode stringrequired

    Possible values: [INVOICED, PAY_AT_COUNTER]

    Payment mode for this charge: INVOICED (invoiced to the agency) or PAY_AT_COUNTER (paid by the driver at the store).

    supplierUnitPrice numbernullable

    Supplier unit price.

    supplierPrice numbernullable

    Supplier total price.

    unitPrice numbernullable

    Sale unit price.

    price numbernullable

    Sale total price. Equal to supplierPrice when paymentMode = PAY_AT_COUNTER.

    markup numbernullable

    Markup applied to the charge. Zero when paymentMode = PAY_AT_COUNTER.

    commission numbernullable

    Commission applied to the charge. Zero when paymentMode = PAY_AT_COUNTER.

    currency stringnullable

    Charge currency.

  • ]
  • totalInvoicedPrice numbernullable

    Sum of the sale price of INVOICED charges.

    totalInvoicedSupplierPrice numbernullable

    Sum of the supplier price of INVOICED charges.

    totalPayAtCounterPrice numbernullable

    Sum of the sale price of PAY_AT_COUNTER charges.

    totalRentalPrice numbernullable

    Total rental value (invoiced + pay-at-counter). Equal to totalInvoicedPrice + totalPayAtCounterPrice.

    totalRentalPriceCurrency stringnullable

    Total rental value currency.

    totalRentalTaxes numbernullable

    Sum of TAX type charges (invoiced and pay-at-counter).

    cancelPolicy objectnullable
    nonRefundable booleannullable

    Indicates a non-refundable rate.

    penaltyDate stringnullable

    Deadline for cancellation without penalty.

    penaltyValue numbernullable

    Penalty amount, in case of cancellation with penalty.

    penaltyCurrency stringnullable

    Penalty currency.

    cancelledInPenalty booleannullable

    Indicates cancellation with penalty. Only applicable when status = 'CANCELLED'.

    supplierCancelPolicy objectnullable
    nonRefundable booleannullable

    Indicates a non-refundable rate.

    penaltyDate stringnullable

    Deadline for cancellation without penalty.

    penaltyValue numbernullable

    Penalty amount, in case of cancellation with penalty.

    penaltyCurrency stringnullable

    Penalty currency.

    cancelledInPenalty booleannullable

    Indicates cancellation with penalty. Only applicable when status = 'CANCELLED'.

    vendorMessages string[]

    Rental company notices/warnings, as received from the supplier. Empty list when there are none.

    voucherUrl stringnullable

    Rental voucher (PDF) URL.

  • ]
  • promoCode stringnullable

    Promotional code used for the item purchase.

    couponCode stringnullable

    Promotional coupon used for the item purchase.

    extraFields object[]nullable

    Extra fields.

  • Array [
  • label stringnullable
    name stringnullable
    valueInt integernullable
    valueStr stringnullable
  • ]
  • includeExtras object[]nullable

    Included extra fields.

  • Array [
  • id stringrequired
    label stringrequired
  • ]
  • billingComments stringnullable

    Billing comments.

    pmsNumber stringnullable

    Reservation's PMS Number.

    mandatoryPurchase booleannullable

    ADDON item type only. Indicates whether the addon is a mandatory purchase.

    scheduleDate stringnullable

    ADDON item type only. If the addon is scheduled, indicates the scheduled date.

    scheduleTime stringnullable

    ADDON item type only. If the addon is scheduled, indicates the scheduled time.

    addonType stringnullable

    ADDON item type only. Type or category of the addon. Ex: TRANSPORTATION_PRIVATE, MEAL, SERVICE, TICKET.

    notificationReminderDatetime stringnullable

    ADDON item type only. Scheduled datetime (ISO 8601) for a notification or reminder related to the addon, if applicable.

    variantLabel stringnullable

    ADDON item type only. Label identifying the selected variant or option of the addon.

    hotelReservationId stringnullable

    ADDON item type only. ID of the correlated hotel reservation, if the addon purchase is linked to one.

    tourCode stringnullable

    BUS item type only. Commercial condition linked to the sale. Not available today.

    deviceType stringnullable

    Device type used to make the reservation.

    niaraSource stringnullable

    Source/origin of the reservation within Niara.

    trackingSource stringnullable

    HOTEL and ADDON item types only. Tracking source (UTM source).

    trackingMedium stringnullable

    HOTEL and ADDON item types only. Tracking medium (UTM medium).

    trackingCampaign stringnullable

    HOTEL and ADDON item types only. Tracking campaign (UTM campaign).

    refCode stringnullable

    External reference code.

    associatedClientName stringnullable

    Name of the external related client.

    countryName stringnullable

    HOTEL item type only. Country name.

    hotelAddress stringnullable

    HOTEL item type only. Hotel address.

    hotelLatitude numbernullable

    HOTEL item type only. Hotel latitude, in decimal degrees.

    hotelLongitude numbernullable

    HOTEL item type only. Hotel longitude, in decimal degrees.

    supplierHotelCode stringnullable

    HOTEL item type only. Hotel code in the original supplier's system.

    rebookStatus stringnullable

    HOTEL item type only. Rebooking process status.

  • ]
  • payments object[]required

    Payments made to settle the order.

  • Array [
  • id stringrequired

    Payment transaction ID.

    type stringrequired

    Possible values: [CREDITCARD, PIX, POINTS, OFFLINE]

    Payment type. OFFLINE is used for invoiced payments (Ex: CAR item type, with supplierPaymentType = INVOICED).

    currency stringrequired

    Currency used. ISO 4217 standard code. Ex: BRL

    amount numberrequired

    Amount originally paid. For CAR item type, only the invoiced amount (totalReservationReceivable); pay-at-counter amounts never generate a payment record.

    amountCancelled numbernullable

    Refunded amount.

    createDate stringnullable

    Creation date.

    updateDate stringnullable

    Last modification date.

    cancellationDate stringnullable

    Cancellation date.

    status stringrequired

    Possible values: [CONFIRMED, CANCELLED, REFUNDED, PENDING, REJECTED, FAILED, PRE_CONFIRMED]

    Current status of the transaction.

    message stringnullable

    Transaction return message or error description.

    paidItemsIds string[]required

    IDs of the order items paid in full or in part with this payment transaction.

    credentialId stringnullable

    Supplier integration credential ID.

    credentialAlias stringnullable

    Supplier integration credential name.

    credentialType stringnullable

    Supplier integration credential type.

    locator stringnullable

    Transaction locator in the supplier integration, according to the credential type.

    payerPassport stringnullable

    Payer's passport.

    creditCardNumber stringnullable

    CREDITCARD payment type only. Masked card number.

    creditCardHolder stringnullable

    CREDITCARD payment type only. Cardholder's name.

    creditCardBrand stringnullable

    CREDITCARD payment type only. Card brand.

    creditCardExpirationDate stringnullable

    CREDITCARD payment type only. Card expiration date.

    installments numbernullable

    CREDITCARD payment type only. Number of installments.

    captureDate stringnullable

    CREDITCARD payment type only. Capture date.

    authorizationCode stringnullable

    CREDITCARD payment type only. Authorization code.

    proofOfSale stringnullable

    CREDITCARD payment type only. Transaction NSU (Sequential Unique Number).

    provider stringnullable

    CREDITCARD payment type only. Acquirer, when available.

    providerTransactionId stringnullable

    CREDITCARD payment type only. Transaction ID with the acquirer, when available.

    is3DS booleannullable

    CREDITCARD payment type only. 3DS authorization used.

    paidItems object[]

    PaymentOption of the order items paid in full or in part with this payment transaction.

  • Array [
  • id stringrequired

    ID of the order item paid in full or in part with this payment transaction.

    amountCancelled stringrequired

    Refunded amount for this item.

    amount numberrequired

    Amount paid for this item.

    exchangeAmountCancelled numberrequired

    Refunded amount, converted to the exchange currency.

    exchangeAmount numberrequired

    Amount paid for this item, converted to the exchange currency.

    exchangeCurrency stringrequired

    Currency the amount was converted to. ISO 4217 standard code. Ex: USD

    exchangeRate numberrequired

    Exchange rate applied to convert the amount to the exchange currency.

    currency stringrequired

    Currency used to pay for this item. ISO 4217 standard code. Ex: BRL

    hasInterest booleanrequired

    Indicates whether interest was applied to this paid item.

    interestRate numbernullable

    Interest rate applied to the paid item. Only relevant when hasInterest is true.

    interestSurcharge numbernullable

    Surcharge amount resulting from the interest applied to the paid item. Only relevant when hasInterest is true.

  • ]
  • ]
  • loyaltyRewards object[]required

    Loyalty program benefits generated from the order.

  • Array [
  • id stringrequired

    Loyalty transaction ID.

    type stringrequired

    Possible values: [POINTS, CASHBACK]

    Type of loyalty benefit.

    value numberrequired

    Value of the benefit, according to the type. Ex. Number of points, monetary value via Cashback.

    currency stringnullable

    For Cashback only. Currency used. ISO 4217 standard code. Ex: BRL

    createDate stringrequired

    Creation date.

    updateDate stringrequired

    Last modification date.

    status stringrequired

    Possible values: [PENDING, CONFIRMED, CANCELLED, REFUNDED, REJECTED]

    Current status of the transaction.

    unit stringnullable

    For Points only. Description of the points type.

    credentialId stringnullable

    Supplier integration credential ID.

    credentialAlias stringnullable

    Supplier integration credential name.

    credentialType stringnullable

    Supplier integration credential type.

    locator stringnullable

    Locator for the accumulation transaction with the supplier, according to the credential type.

    scheduleDate stringnullable

    Scheduled date for the benefit accumulation.

  • ]
  • suppliers object[]required

    Data of the suppliers for the items that make up the order.

  • Array [
  • id stringrequired

    Supplier ID.

    niaraId stringrequired

    Unique NIARA ID for this supplier.

    corporateName stringnullable

    Corporate Name.

    brandName stringnullable

    Brand Name.

    vat stringnullable

    VAT number (CNPJ for Brazil).

    email stringnullable

    Email.

    phone stringnullable

    Phone.

    address stringnullable

    Address (street and number).

    cityName stringnullable

    City.

    stateName stringnullable

    State.

    zipCode stringnullable

    Zip code.

    countryCode stringnullable

    ISO 3166-1 alpha-2 country code. Ex: BR

    cityRegistration stringnullable

    Municipal Registration.

    stateRegistration stringnullable

    State Registration.

  • ]
  • quotation objectnullable
    id stringrequired

    Quotation ID.

    externalId stringnullable

    Request ID in the integration.

    requestId stringnullable

    ID of the request that generated the quotation.

    lostReservationId stringnullable

    ID of the lost reservation that originated the quotation.

    channelSource stringnullable

    Channel from which the quotation was generated.

    createdAt stringnullable

    Quotation creation date.

    responsible stringnullable

    Name of the person responsible for the quotation.

    isForGroups booleannullable

    Whether the trip is for groups or not.

    groupDescription stringnullable

    Group description.

    checkoutUrl stringnullable

    Checkout URL.

Loading...