📘

/PaymentRequest/include

Request Body

FieldTypeDescriptionRequired
IdPaymentRequestInteger(10)Id Number to payment requestNo
OrderIDString (255)Partner-generated order number (We recommend using numbers only)Yes
CurrencyString (3)Type of currency usedYes
TotalPriceDecimal (9.2)Total Order AmountYes
DiscountPercentDecimal (9.2)percent discount on the total order value.No
DiscountValueDecimal (9.2)Fixed discount on the total order value.No
ProposalString (254)Proposal numberNo
IncreasePercentDecimal (9.2)Percent addition to the total order amount.No
IncreaseValueDecimal (9.2)Fixed addition to the total order amount.
ProductTypeArray[String]Type of product being sold (ex: ProductType:["Airline", "Lodging","CarRentClass"])Yes
Buyer.NameString (100)Payer NameYes
Buyer.BirthDateDate (10) yyyy-MM-ddPayer birth dateNo
Buyer.EmailString (300)Payer's EmailYes
Buyer.StatusInteger(2)Payer's StatusNo
Buyer.Documents.TypeString (14)Buyer Document TypeYes
Buyer.Documents.NumberString (14)Buyer Document NumberYes
Buyer.Phones.AreaCodeInteger (2)Payer contact phone area codeYes
Buyer.Phones.NumberString (10)Payer contact phone numberYes
Buyer.Address.ZipCodeString (10)payer address zip codeYes
Buyer.Address.StreetString (100)Payer's address streetYes
Buyer.Address.NumberString (10)Payer address numberYes
Buyer.Address.ComplementString (300)Payer address supplementYes
Buyer.Address.DistrictString (100)Payer's address districtYes
Buyer.Address.CityString (100)City of payer's addressYes
Buyer.Address.StateString (2)Payer address statusYes
Buyer.Address.CountryString (100)Country of payer's addressYes
Buyer.Address.TypeInteger (1)Payer address type: 1 = Residential / 2 = CommercialYes
Shipping.UseDateDate (10) yyyy-MM-ddDate of use of the serviceYes
Shipping.PriceDecimal (9.2)Shipping ValueYes
Shipping.Address.ZipCodeString (9)Zip of delivery addressYes
Shipping.Address.StreetString (100)Delivery Address StreetYes
Shipping.Address.NumberString (10)Delivery address numberYes
Shipping.Address.ComplementString (300)Delivery address supplementYes
Shipping.Address.DistrictString (100)Delivery Address NeighborhoodYes
Shipping.Address.CityString (100)Delivery Address CityYes
Shipping.Address.StateString(2)Status of delivery addressYes
Shipping.Address.CountryString (100)Country of delivery addressYes
Shipping.Address.TypeInteger (1)Type of delivery address: 1 = Residential / 2 = CommercialYes
Items.ReferenceString (500)Item SKUYes
Items.DescriptionString (500)Item DescriptionYes
Items.CategoryString (500)Item CategoryYes
Items.QuantityInteger (3)Acquired quantity of this itemYes
Items.PriceDecimal (9.2)Item Unit ValueYes
AdditionalParameters.OrderOriginDataObjectStore source dataYes
AdditionalParameters.OrderOriginData.OrderOriginDocuments.TypeString(50)Type of documentYes
AdditionalParameters.OrderOriginData.OrderOriginDocuments.NumberString(50)Document numberYes
AdditionalParameters.OrderOriginData.OrderOriginNameString (300)Name of person of originNo
AdditionalParameters.OrderOriginIsDifferentString (1) Y = Yes / N = NoFlag to send OrderOrigin nodeNo
AdditionalParameters.OrderOriginCompanyNameString (300)Company NameYes
AdditionalParameters.OrderOriginData.OrderOriginEmailString (300)Email of origin personNo
AdditionalParameters.OrderOriginData.OrderOriginPhoneString (15)Phone of origin personNo
AdditionalParameters.ExpirationDateDatetime (19)Date and time of offer expiration for KOIN. yyyy-MM-dd HH:mm:ssYes
AdditionalParameters.UserExpirationDateDatetime (19)Date and time of offer expiration for KOIN. yyyy-MM-dd HH:mm:ssNo
AdditionalParameters.IntermediateIdString(50)Intermediary codeYes
AdditionalParameters.MaxInstallmentsInteger (2)Maximum installments to be offeredNo
AdditionalParameters.IntermediateIdString(50)Intermediary CodeNo
AdditionalParameters.FixInstallmentsInteger (2)Fix parcel to be offeredNo
AdditionalParameters.SoftDescriptionString(50)Additional descriptionNo
AdditionalParameters.UserCreateString (300)Email of origin personNo
AdditionalParameters.CallbackUrlString (300)Callback URL for payment notification/order activationNo
AdditionalParameters.SalesChannelIdInteger (2)Sales Channel Code: 1 = Physical Store / 2 = Telesales / 3 = CheckoutYes

AirlineData

FieldTypeDescriptionRequired
AdditionalData.AirlineData.Legs.LegNumberInteger (2)Sequential Leg IdentificationYes
AdditionalData.AirlineData.Legs.OriginString (3)Airport Origin Flight AcronymYes
AdditionalData.AirlineData.Legs.DestinationString (3)Airport Flight Destination AcronymYes
AdditionalData.AirlineData.Legs.FlightNumberString (10)Flight NumberYes
AdditionalData.AirlineData.Legs.DepartureTimeDateTime (yyyy-MM-dd HH:mm:ss)Date and time of flight departureYes
AdditionalData.AirlineData.Legs.IdClassString (1) - F / J / Y / WTrip Class IdYes
AdditionalData.AirlineData.Legs.StopOverAllowedString (1) - Y = Yes / N = NoStop Over allowed?Yes
AdditionalData.AirlineData.Legs.AirlineRefundString (1) - Y = Yes / N = NoIndicates if ticket is refundableNo
AdditionalData.AirlineData.Passengers.PassengerNameString (100)Passenger NameYes
AdditionalData.AirlineData.Passengers.PassengerEmailString (300)Passenger EmailYes
AdditionalData.AirlineData.Passengers.PassengerPhoneString (15)Passenger PhoneYes
AdditionalData.AirlineData.Passengers.PassengerBirthDateDateTime (10)Passenger Birth DateYes
AdditionalData.AirlineData.Passengers.PassengerRatingString (10)Passenger ClassificationNo
AdditionalData.AirlineData.Passengers.PassengerStatusString (10)Classification of the Airline PassengerNo
AdditionalData.AirlineData.Passengers.PassengerNationalityString(50)Passenger NationalityNo
AdditionalData.AirlineData.Passengers.PassengerDocuments.TypeString (14)Passenger Doc TypeYes
AdditionalData.AirlineData.Passengers.PassengerDocuments.NumberString(50)In a Passenger DocYes

Car Rental

FieldTypeDescriptionRequired
AdditionalData.CarRentalData.CarRentalCompanyString (300)Lessor NameYes
AdditionalData.CarRentalData.CarDescriptionString (300)Vehicle DescriptionYes
AdditionalData.CarRentalData.CarCategoryString (50)Vehicle categoryYes
AdditionalData.CarRentalData.PickUpDateTimeDateTime (yyyy-MM-dd HH:mm:ss)Date and time of vehicle pickupYes
AdditionalData.CarRentalData.ReturnDateTimeDateTime (yyyy-MM-dd HH:mm:ss)Date and time of vehicle returnYes
AdditionalData.CarRentalData.PickUpLocation.ZipCodeString (10)Pickup address zip codeNo
AdditionalData.CarRentalData.PickUpLocation.StreetString (100)Retreat address streetYes
AdditionalData.CarRentalData.PickUpLocation.NumberString (10)Pickup address numberNo
AdditionalData.CarRentalData.PickUpLocation.ComplementString (300)Pickup address supplementNo
AdditionalData.CarRentalData.PickUpLocation.DistrictString (100)Pickup Address NeighborhoodNo
AdditionalData.CarRentalData.PickUpLocation.CityString (100)City of pickup addressYes
AdditionalData.CarRentalData.PickUpLocation.StateString (2)Status of pickup addressYes
AdditionalData.CarRentalData.PickUpLocation.CountryString (100)Country of pickup addressYes
AdditionalData.CarRentalData.ReturnLocation.ZipCodeString (10)Return address zip codeNo
AdditionalData.CarRentalData.ReturnLocation.StreetString (100)Return Address StreetYes
AdditionalData.CarRentalData.ReturnLocation.NumberString (10)Return Address NumberNo
AdditionalData.CarRentalData.ReturnLocation.ComplementString (300)Return Address SupplementNo
AdditionalData.CarRentalData.ReturnLocation.DistrictString (100)Return Address NeighborhoodNo
AdditionalData.CarRentalData.ReturnLocation.CityString (100)City of return addressYes
AdditionalData.CarRentalData.ReturnLocation.StateString (2)Return Address StatusYes
AdditionalData.CarRentalData.ReturnLocation.CountryString (100)Country of return addressYes
AdditionalData.CarRentalData.Drivers.DriverNameString (100)Driver's NameYes
AdditionalData.CarRentalData.Drivers.DriverEmailString (300)Driver's EmailYes
AdditionalData.CarRentalData.Drivers.DriverBirthDateDate (yyyy-MM-dd)Date of Birth of DriverYes
AdditionalData.CarRentalData.Drivers.DriverPhoneString (15)Driver's PhoneNo
AdditionalData.CarRentalData.Drivers.DriverGenderInteger (1)Gender of Driver (1= Female / 2= Male)No
AdditionalData.CarRentalData.Drivers.DriverDocuments.TypeString (14)Driver's Document TypeYes
AdditionalData.CarRentalData.Drivers.DriverDocuments.NumberString (14)Driver's Document NumberYes

DestinationServiceData

FieldTypeDescriptionRequired
AdditionalData.DestinationServiceData.DSDetails.DSIdInteger (1)Service ID (1- Transfer, 2- Insurance, 3- Circuit, 4- Tickets, 5- Tours, 6- Road Tickets, 7- Rail Tickets)No
AdditionalData.DestinationServiceData.DSDetails.DSTypeString(50)Type of ServiceYes
AdditionalData.DestinationServiceData.DSDetails.DSNameString (1200)Service NameYes
AdditionalData.DestinationServiceData.DSDetails.DSDescriptionString (1200)Service DescriptionNo
AdditionalData.DestinationServiceData.DSDetails.DSDateStartDate (yyyy-MM-dd)Start DateNo
AdditionalData.DestinationServiceData.DSDetails.DSDateEndDate (yyyy-MM-dd)End DateNo
AdditionalData.DestinationServiceData.DSDetails.DSDurationInteger (5)Duration of ServiceNo
AdditionalData.DestinationServiceData.DSDetails.DSOriginString(50)Source of ServiceNo
AdditionalData.DestinationServiceData.DSDetails.DSDestinationString(50)Service DestinationYes
AdditionalData.DestinationServiceData.DSDetails.DSPenaltyDateDate (yyyy-MM-dd)Penalty DateNo
AdditionalData.DestinationServiceData.DSDetails.DSQtPaxInteger (2)Number of PassengersNo
AdditionalData.DestinationServiceData.PaxDetails.PaxNameString (100)Passenger NameYes
AdditionalData.DestinationServiceData.PaxDetails.PaxBirthDateDate (yyyy-MM-dd)Date of Birth of the PassengerYes
AdditionalData.DestinationServiceData.PaxDetails.PaxEmailString (300)Passenger EmailNo
AdditionalData.DestinationServiceData.PaxDetails.PaxPhoneString (15)Passenger PhoneYes
AdditionalData.DestinationServiceData.PaxDetails.PaxDocuments.TypeString (14)Type of Passenger DocumentYes
AdditionalData.DestinationServiceData.PaxDetails.PaxDocuments.NumberString (15)Guest PhoneNo
AdditionalData.DestinationServiceData.PaxDetails.PaxAddress.ZipCodeString (10)Passenger Zip CodeNo
AdditionalData.DestinationServiceData.PaxDetails.PaxAddress.CountryString(50)Country of PassengerNo
AdditionalData.DestinationServiceData.PaxDetails.PaxAddress.StateString (2)Passenger StatusNo
AdditionalData.DestinationServiceData.PaxDetails.PaxAddress.CityString(50)City of the PassengerNo
AdditionalData.DestinationServiceData.PaxDetails.PaxAddress.DistrictString(50)Passenger QuarterNo
AdditionalData.DestinationServiceData.PaxDetails.PaxAdress.StreetString(50)Passenger StreetNo
AdditionalData.DestinationServiceData.PaxDetails.PaxAddress.NumberString (10)Passenger NumberNo
AdditionalData.DestinationServiceData.PaxDetails.PaxAddress.ComplementString (100)Passenger SupplementNo

Education

FieldTypeDescriptionRequired
AdditionalData.ClassData.ClassDetails.ClassNameString (100)Course NameYes
AdditionalData.ClassData.ClassDetails.ClassFinanceTypeInteger (1)AdditionalData.ClassData.ClassDetails.ClassFinanceTypeYes
AdditionalData.ClassData.ClassDetails.ClassSchoolNameString (100)Education InstitutionYes
AdditionalData.ClassData.ClassDetails.ClassCourseLoadInteger (20)Course Credit Hours (in hours)Yes
AdditionalData.ClassData.ClassDetails.ClassSchoolCampusString (100)Campus Name/Course LocationNo
AdditionalData.ClassData.ClassDetails.ClassSchoolCampusCityString (100)Campus City/Course LocationNo
AdditionalData.ClassData.ClassDetails.ClassStartDateDate yyyy-MM-ddCourse Start DateYes
AdditionalData.ClassData.ClassDetails.ClassEndDateDate yyyy-MM-ddExpected Date for Course CompletionYes
AdditionalData.ClassData.ClassDetails.ClassIsPresentialString (Y)Classes are in personYes
AdditionalData.ClassData.ClassDetails.ClassPeriodInteger (1)Course PeriodNo
AdditionalData.ClassData.ClassDetails.ClassType.CategoryInteger (10)Course CategoryYes
AdditionalData.ClassData.ClassDetails.ClassType.SubCategoryInteger (10)Course Sub CategoryYes
AdditionalData.ClassData.ClassDetails.ClassType.SegmentInteger (100)Course SegmentNo
AdditionalData.ClassData.ClassDetails.ClassMonthlyFeeDecimal (0000.00)Course FeeNo
AdditionalData.ClassData.ClassDetails.ClassScholarshipInteger (10)Scholarship PercentageNo
AdditionalData.ClassData.Students.StudentNameString (100)Student NameYes
AdditionalData.ClassData.Students.StudentIdString(50)MEC Student IDNo
AdditionalData.ClassData.Students.StudentRegistrationString (100)Student RA (registration at the institution)Yes
AdditionalData.ClassData.Students.StudentBondPayerInteger (1)Student Link with PayerYes
AdditionalData.ClassData.Students.StudentEmailString (255)Student EmailYes
AdditionalData.ClassData.Students.StudentPhoneString (15)Student PhoneYes
AdditionalData.ClassData.Students.StudentBirthDateDate yyyy-MM-ddMEC Student IDYes
AdditionalData.ClassData.Students.StudentDocuments.TypeString (14)Student Document TypeYes
AdditionalData.ClassData.Students.StudentDocuments.NumberString (14)Student document numberYes
AdditionalData.ClassData.Students.StudentRegisterDateDate yyyy-MM-ddStudent Enrollment DateNo
AdditionalData.ClassData.Students.ZipCodeString (20)student address zip codeYes
AdditionalData.ClassData.Students.CountryString (20)Country of Student AddressYes
AdditionalData.ClassData.Students.StateString (20)Student address statusYes
AdditionalData.ClassData.Students.CityString (20)Student address cityYes
AdditionalData.ClassData.Students.DistrictString (20)Student address districtYes
AdditionalData.ClassData.Students.StreetString (20)Student address streetYes
AdditionalData.ClassData.Students.NumberString (10)Student House NumberYes
AdditionalData.ClassData.Students.ComplementString (200)Student Address SupplementNo

Lodging

FieldTypeDescriptionRequired
AdditionalData.LodgingData.LodgingNameString (100)Name of the Hotel/InnYes
AdditionalData.LodgingData.CheckInDateDate(yyyy-MM-dd)Data CheckInYes
AdditionalData.LodgingData.CheckOutDateDate(yyyy-MM-dd)Date CheckOutYes
AdditionalData.LodgingData.DurationString (5)Duration of accommodation (nights)No
AdditionalData.LodgingData.LodgingRefundString (1) - Y = Yes / N = NoIndicates if hosting is refundableYes
AdditionalData.LodgingData.Address.ZipCodeString (10)Hotel/Pousada Zip CodeYes
AdditionalData.LodgingData.Address.StreetString (100)Rua do Hotel/PousadaYes
AdditionalData.LodgingData.Address.NumberString (10)Hotel/Inn NumberYes
AdditionalData.LodgingData.Address.ComplementString (100)Hotel/Inn ComplementYes
AdditionalData.LodgingData.Address.DistrictString (100)Hotel/Inn NeighborhoodYes
AdditionalData.LodgingData.Address.CityString (100)Hotel/Inn CityYes
AdditionalData.LodgingData.Address.StateString (2)Hotel/Inn StatusYes
AdditionalData.LodgingData.Address.CountryString (100)Country of Hotel/InnYes
AdditionalData.LodgingData.Lodger.LodgerNameString (100)Host NameYes
AdditionalData.LodgingData.Lodger.LodgerEmailString (300)Host EmailNo
AdditionalData.LodgingData.Lodger.LodgerPhoneString (15)Guest PhoneNo
AdditionalData.LodgingData.Lodger.LodgerDocument.TypeString (14)Type Doc HostYes
AdditionalData.LodgingData.Lodger.LodgerDocument.NumberString (14)In a Host DocumentYes