To keep things simple, the Mollie API endpoints will always attempt to use the same structure when representing certain value objects.
The API references lists the data type used for each field and parameter of every endpoint. This guide contains a list of all data types used, along with an explanation of the way these data types are structured.
Identifiers
All API resources have their own unique identifier which are formatted as a string. Identifiers are prefixed so they are quickly identifiable as what kind of resource it refers to. For example, payment identifiers are prefixed with tr_ and customers with cst_. Identifiers have a maximum length of 32 characters, including the prefix.
Amount object
An amount object is always represented as follows.
currency string required
currency string requiredAn ISO 4217 currency code.
value string required
value string requiredA string containing the exact amount in the given currency.
Address object
An address object includes at least the following fields.
givenName string required
givenName string requiredThe given name (first name) of the person should be more than 1 character and cannot contain only numbers.
familyName string required
familyName string requiredThe family name (surname) of the person should be more than 1 character and cannot contain only numbers.
streetAndNumber string required
streetAndNumber string requiredThe street and street number of the address.
streetAdditional string optional
streetAdditional string Any additional addressing details, for example an apartment number.
postalCode string optional
postalCode string The postal code of the address. Required for countries that use postal codes. May only be omitted for these country codes:
AE AN AO AW BF BI BJ BO BS BV BW BZ CD CF CG CI CK CM DJ DM ER FJ GA GD GH GM GN GQ GY HK JM KE KI KM KN KP LC ML MO MR MS MU MW NA NR NU PA QA RW SB SC SL SO SR ST SY TF TK TL TO TT TV UG VU YE ZM ZW
city string required
city string requiredThe city of the address.
region string optional
region string The region of the address.
country string required
country string requiredThe country of the address in ISO 3166-1 alpha-2 format.
When providing an address object as parameter to a request, the following conditions must be met:
- At least the
streetAndNumber,city, andcountry fieldsshould be provided to create a valid address. - The
postalCodefield is required for countries that have postal codes. See the list above. - For certain PayPal payments the
regionfield is required. See the Create payment documentation for more information.
Boolean
In JSON structures, booleans should be passed as the JSON boolean type.
In query string parameters (e.g. GET requests) only the strings true and false are accepted.
Business Category
A token that represents the industry associated with the profileโs trade name or brand.
Possible values:
- Animal Services
PET_SHOPSPet Shops, Pet Food, and SuppliesVETERINARY_SERVICESVeterinary services
- Building Services
AC_AND_HEATING_CONTRACTORSA/C and heating contractorsCARPENTRY_CONTRACTORSCarpentry contractorsELECTRICAL_CONTRACTORSElectrical contractorsEQUIPMENT_TOOLS_FURNITURE_RENTAL_LEASINGEquipment, tools or furniture rental/leasingGENERAL_CONTRACTORSGeneral contractorsSPECIAL_TRADE_CONTRACTORSSpecial trade contractors
- Charity and Donations
CHARITY_AND_DONATIONSCharity and DonationsFUNDRAISING_CROWDFUNDING_SOCIAL_SERVICEFundraising, crowdfunding and social service organizations
- Digital Products
APPSAppsBOOKS_MEDIA_MOVIES_MUSICBooks, media, movies, musicGAMESGamesSOFTWARE_AND_SUBSCRIPTIONSSoftware and subscriptions
- Education
CHILD_CARE_SERVICESChild care servicesCOLLEGES_UNIVERSITIESColleges or universitiesELEMENTARY_SECONDARY_SCHOOLSElementary or secondary schoolsOTHER_EDUCATIONAL_SERVICESOther educational servicesVOCATIONAL_SCHOOLS_TRADE_SCHOOLSVocational schools or trade schools
- Entertainment and Recreation
AMUSEMENT_PARKSAmusement Parks, Circuses, Carnivals, and Fortune TellersEVENT_TICKETINGEvent ticketingGAMING_ESTABLISHMENTSGaming establishments, incl. billiards, pool, bowling, arcadesMOVIE_THEATRESMovie theatresMUSICIANS_BANDS_ORCHESTRASMusicians, bands, or orchestrasONLINE_GAMBLINGOnline gamblingOTHER_ENTERTAINMENT_RECREATIONOther entertainment and recreationSPORTING_RECREATIONAL_CAMPSSporting and Recreational CampsSPORTS_FORECASTINGSports forecasting or prediction services
- Financial Services
CREDIT_COUNSELLING_REPAIRCredit counselling or credit repairDIGITAL_WALLETSDigital walletsINVESTMENT_SERVICESInvestment servicesMONEY_SERVICESMoney services or transmissionMORTGAGES_INSURANCES_LOANS_FINANCIAL_ADVICEMortgages, insurances, loans and financial adviceSECURITY_BROKERS_DEALERSSecurity brokers or dealersTRUST_OFFICESTrust officesVIRTUAL_CRYPTO_CURRENCIESVirtual currencies and crypto currencies
- Food and Drink
CATERERSCaterers (prepare and delivery)FAST_FOOD_RESTAURANTSFast food restaurantsFOOD_PRODUCT_STORESGrocery stores, supermarkets and food product storesRESTAURANTS_NIGHTLIFERestaurants, nightlife & other on-premise consumption
- Lodging and Hospitality
BOAT_RENTALS_LEASINGBoat Rentals and LeasingCRUISE_LINESCruise linesLODGINGHotels, Motels, Resorts, Inns and other lodging and hospitalityPROPERTY_RENTALS_CAMPINGProperty rentals / Camping
- Marketplaces
MARKETPLACESMarketplaces
- Medical Services
DENTAL_EQUIPMENT_SUPPLIESDental, lab and/or ophthalmic equipment and suppliesDENTISTS_ORTHODONTISTSDentists and orthodontistsMEDICAL_SERVICESDoctors, physicians and other medical servicesDRUG_PHARMACIES_PRESCRIPTIONDrug Stores, pharmacies and prescription medicineMEDICAL_DEVICESMedical devicesMEDICAL_ORGANIZATIONSMedical organizationsMENTAL_HEALTH_SERVICESMental health servicesNURSINGNursing or personal care facilities and assisted livingOPTICIANS_EYEGLASSESOpticians and eyeglasses
- Membership Organizations
SOCIAL_ASSOCIATIONSCivic, fraternal, or social associationsMEMBERSHIP_FEE_BASED_SPORTSGyms, membership fee based sportsOTHER_MEMBERSHIP_ORGANIZATIONSOther membership organizations
- Personal Services
ADULT_CONTENT_SERVICESAdult content or servicesCOUNSELING_SERVICESCounseling servicesDATING_SERVICESDating servicesHEALTH_BEAUTY_SPASHealth and beauty spasLANDSCAPING_SERVICESLandscaping servicesLAUNDRY_DRYCLEANING_SERVICESLaundry or (dry)cleaning servicesMASSAGE_PARLOURSMassage parloursOTHER_PERSONAL_SERVICESOther personal servicesPHOTOGRAPHY_STUDIOSPhotography StudiosSALONS_BARBERSSalons or barbers
- Political Organizations
POLITICAL_PARTIESPolitical parties
- Professional Services
ACCOUNTING_AUDITING_BOOKKEEPING_TAX_PREPARATION_SERVICESAccounting, auditing, bookkeeping and tax preparation servicesADVERTISING_SERVICESAdvertising ServicesCLEANING_MAINTENANCE_JANITORIAL_SERVICESCleaning and maintenance, janitorial servicesCOMPUTER_REPAIRComputer repairCONSULTANCYConsultancySECURITY_SERVICESDetective/protective agencies, security servicesDIRECT_MARKETINGDirect marketingFUNERAL_SERVICESFuneral services and crematoriesGOVERNMENT_SERVICESGovernment servicesHOSTING_VPN_SERVICESHosting and VPN servicesINDUSTRIAL_SUPPLIES_NOT_ELSEWHERE_CLASSIFIEDIndustrial supplies, not elsewhere classifiedLEGAL_SERVICES_ATTORNEYSLegal Services and AttorneysMOTION_PICTURES_DISTRIBUTIONMotion picture / video tape production and/or distributionOTHER_BUSINESS_SERVICESOther business servicesPRINTING_PUBLISHINGPrinting and publishingREAL_ESTATE_AGENTSReal Estate AgentsSANITATION_POLISHING_SPECIALTY_CLEANINGSanitation, polishing and specialty cleaningOFFICE_SUPPLIESStationery / Office suppliesTESTING_LABORATORIES_NOT_MEDICALTesting laboratories (not medical)TRAINING_AND_COACHINGTraining and CoachingUTILITIESUtilities
- Religious Organizations
RELIGIOUS_ORGANIZATIONSReligious organizations
- Retail
CLOTHING_SHOES_ACCESSORIES(Sports) clothing, shoes and accessoriesCOMMERCIAL_ARTArt Dealers, Galleries, (commercial) Photography and GraphicsBEAUTY_PRODUCTSBeauty productsBOOKS_PERIODICALS_NEWSPAPERSBooks, Periodicals and NewspapersHOME_IMPROVEMENTBuilding, home improvement and equipmentGIFTS_SHOPSCards, gifts, novelty and souvenir shopsCBD_MARIJUANA_PRODUCTSCBD/Marijuana (related) productsCOFFEE_SHOPSCoffee shops / grow shopsCONVENIENCE_STORESConvenience Stores, Specialty Markets, Health Food StoresGIFT_CARDSCredits, vouchers, gift cards (excl. SIM cards) for Non-Financial InstitutionsEROTIC_TOYSErotic toysFLORISTSFlorists, florist supplierFUEL_DEALERSFuel dealers (i.e. oil, pertroleum)FURNITURE_FURNISHINGS_EQUIPMENT_STORESFurniture, Home Furnishings and Equipment StoresGAME_TOY_HOBBY_SHOPSGame, Toy and Hobby ShopsOUTDOOR_EQUIPMENTGarden and outdoor equipmentHOME_ELECTRONICSHome electronics & (personal) computersHOUSEHOLD_APPLIANCE_STORESHousehold appliance storesJEWELRY_WATCH_CLOCK_AND_SILVERWARE_STORES_UNDER_1000Jewelry, Watch, Clock, and Silverware Stores (<1000 euro)MUSIC_STORESMusic Stores, Instruments and RecordsOTHER_MERCHANDISEOther merchandiseLIQUOR_STORESPackage StoresโBeer, Wine, and LiquorPAID_TELEVISION_RADIOPaid television or radio services (cable/satellite)PRECIOUS_STONES_METALS_JEWELRY_OVER_1000Precious Stones, Metals, Watches and Jewelry (>1000 euro)REPAIR_SHOPSRepair shops and related services, not elsewhere classifiedSECOND_HAND_STORESSecond hand / used merchandise storesSPORTING_GOODS_SPECIALTY_RETAIL_SHOPSSporting Goods Stores, Miscellaneous and Specialty Retail ShopsSUPPLEMENTS_STORESSupplements, nutrition, vitamin storesTELECOM_EQUIPMENTTelecom equipment (i.e. chargers, phones)TELECOM_SERVICESTelecom services (incl. (anonymous) SIM cards)TOBACCO_PRODUCTSTobacco, cigars, e-cigarettes and related productsTRADERS_DIAMONDSTraders in diamondsTRADERS_GOLDTraders in goldWEAPONS_AMMUNITIONWeapons or ammunition
- Transportation
COMMUTER_TRANSPORTATIONCommuter transportationCOURIER_SERVICESCourier services and Freight forwardersOTHER_TRANSPORTATION_SERVICESOther transportation servicesRIDESHARINGTaxis, limos and ridesharing
- Travel Services
TRAVEL_SERVICESTravel agencies, tour operators and other traval services
- Vehicles
AUTOMOTIVE_PARTS_ACCESSORIESAuto(motive) parts and accessoriesCAR_TRUCK_COMPANIESAuto and truck sales and service dealers and leasing companiesAUTOMOTIVE_SERVICESAutomotive servicesBICYCLE_PARTS_SHOPS_SERVICEBicycle (parts) shops and serviceCAR_BOAT_CAMPER_MOBILE_HOME_DEALERCar, boat, camper, mobile Home dealerCAR_RENTALSCar rentalsMOTORCYCLE_PARTS_SHOPS_AND_DEALERSMotorcycle (parts) shops and dealers
Date
A string representing a date in YYYY-MM-DD format.
Datetime
A string representing a date and time in ISO 8601 format.
Locale
A string representing the country and language in the xx_XX format specified by ISO 15897.
Possible values: en_US en_GB nl_NL nl_BE fr_FR fr_BE de_DE de_AT de_CH es_ES ca_ES pt_PT it_IT nb_NO sv_SE fi_FI da_DK is_IS hu_HU pl_PL lv_LV lt_LT.
Phone number
All phone numbers must passed as strings in the E.164 format. For example, +31208202070.
QR code object
height string
height stringHeight of the image in pixels.
width string
width stringWidth of the image in pixels.
src string
src stringThe URI you can use to display the QR code. Note that we can send both data URIs as well as links to HTTPS images. You should support both.
URL object
In v2 endpoints, URLs are commonly represented as objects with an href and type field.
href string
href stringThe actual URL string.
type string required
type string requiredThe content type of the page or endpoint the URL points to.