Skip to main content

Floa

Introduction

Floa is a French payment solution that allows you to finance purchases with consumer credit options, including installment payments. Among the installment payment options offered:

  • 3X: Payments in 3 installments, with 30 days between each installment.
  • 4X: Payments in 4 installments, 30 days apart.

Extra data required

Depending on the type of product or service offered it will be necessary to indicate additional information within the extra_data during the creation of the order, although the country will always be mandatory (extra_data.billing_address.country), along with the first name and last name (extra_data.profile.first_name and extra_data.profile.last_name, respectively).

The following table shows the additional fields to be sent within extra_data.payment depending on the type of product offered:

CampoDescripciónTipoRequerido
categorie_1Most expensive product category. For Travel/Stay use one of the following values: AIRLINE TICKET, TRAIN TICKET, BUS TICKET, HOTEL, CAMPING, STAY, CRUISE, CAR RENTALstring(30)
categorie_2Subcategoría del producto más caro. Opcional para Travel.string(30)General/Stay
cart_item_countNumber of itemsint
sale_channelSales channel. One of the following values: DESKTOP, TABLET, TABLET_IPAD, SMARTPHONE, SMARTPHONE_ANDROID, SMARTPHONE_IPHONEstring(18)
merchant_home_urlMerchant homepage URLstring
merchant_back_urlURL to return to the previous page of the merchant's sitestring
departure_dateStart date format: DD/MM/AAAA HH:MMdateTravel/Stay
return_dateReturn date format: DD/MM/AAAA HH:MMdateTravel/Stay
traveller_countNumber of travelersintTravel/Stay
own_ticketField to identify whether the holder of the credit card used to finance the trip participates.boolTravel/Stay
room_rangeFor Stay payments, the hotel rank (stars)stringStay
insuranceIf the client chooses insurance. Values: "yes", "no"stringTravel/Stay
destination_countryDestination country code, in ISO 3166-2 format (e.g. "ES" for Spain)stringTravel/Stay
travel_typeA value between: Unknown, OneWay (one way), TwoWay (round trip), Multiple (Multiple destinations)string(2)Travel/Stay
departure_airportIATA code of the departure airportstring(3)Travel
arrival_airportIATA code of the destination airportstring(3)Travel
main_departure_companyIn case of air travel, name of the airline of the first flight (IATA code)string(3)Travel
shipping_methodMerchant delivery method. If not sent, "VIR" by default. Values: STD (Normal), EXP (Express Delivery), TRK (Tracked), REG (Registered), COL (Colissimo), CHR (Chronopost), REL (Mondial Relay), TNT (TNT), UPS (UPS), TRP (Transporter), MAG (Delivery in store), LCK (Lockers), VIR (Virtual), RIM (Immediate withdrawal in store)string(3)No
fees_amountTotal amount of fees associated with the order (in cents)stringNo
shipping_costTotal amount of shipping costs for the order (in cents)stringNo
discount_amountTotal amount of discounts associated with the order (in cents)stringNo

Depending on the product there are the following sectors of activity: General, Stay (hotels) and Travel.

Below is an example of extra_data sent to make a payment with each activity sector:

General

"extra_data": {
"profile": {
"first_name": "John",
"last_name": "Doe"
},
"billing_address": {
"city": "",
"country": "ESP",
"address1": "Avenida del Mar",
"zip_code": "",
"state_code": ""
},
"payment": {
"categorie_1": "Juego de mesa",
"categorie_2": "Virus 2",
"cart_item_count": 1,
"sale_channel": "DESKTOP",
"merchant_home_url": "https://www.google.com/",
"merchant_back_url": "https://www.google.com/",
"shipping_method": "STD",
"shipping_cost": "500",
"discount_amount": "1000"
}
}

Stay (Hotel)

"extra_data":{
"profile": {
"first_name": "John",
"last_name": "Doe",
"email": "test@gmail.com"
},
"billing_address": {
"city": "",
"country": "ESP",
"address1": "Avenida del Mar",
"zip_code": "",
"state_code": ""
},
"payment": {
"categorie_1": "HOTEL",
"categorie_2": "Room",
"departure_date": "05/05/2024 12:00",
"return_date": "12/05/2024 12:00",
"traveller_count": 2,
"own_ticket": true,
"room_range": 3,
"insurance": "no",
"destination_country": "ES",
"travel_type": "OneWay",
"cart_item_count": 2,
"sale_channel": "DESKTOP",
"merchant_home_url": "https://www.google.com/",
"merchant_back_url": "https://www.google.com/"
}
}

Travel

"extra_data":{
"profile": {
"first_name": "John",
"last_name": "Doe",
"email": "test@gmail.com"
},
"billing_address": {
"city": "",
"country": "ESP",
"address1": "Avinguda del Mar",
"zip_code": "",
"state_code": ""
},
"payment": {
"categorie_1": "AIRLINE TICKET",
"departure_date": "30/04/2024 12:00",
"return_date": "05/05/2024 12:00",
"traveller_count": 2,
"own_ticket": true,
"insurance": "no",
"destination_country": "ES",
"travel_type": "TwoWay",
"cart_item_count": 2,
"sale_channel": "DESKTOP",
"merchant_home_url": "https://www.google.com/",
"merchant_back_url": "https://www.google.com/",
"departure_airport": "VLC",
"arrival_airport": "LEN",
"main_departure_company": "Iberia"
}
}

Payment methods in Sandbox

It is recommended to use an amount between €100 and €250 to increase the chances of successful eligibility.

The test card data are as follows:

- OK card number: 5017 6791 1038 0400
- KO card number: 5017 6791 0090 0712
- CVV: 000
- expiration date: greater than the date of the last installment

Currency

The currency supported for this service is Euro (EUR).

Error codes

The error structure has the following form:

Code - Message

For example:

3 - Failed (Technical failure)