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.
Amount object
In v2 endpoints, 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
In the v2 endpoints, 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 fields
should be provided to create a valid address. - The
postalCode
field is required for countries that have postal codes. See the list above. - For certain PayPal payments the
region
field 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_SHOPS
Pet Shops, Pet Food, and SuppliesVETERINARY_SERVICES
Veterinary services
- Building Services
AC_AND_HEATING_CONTRACTORS
A/C and heating contractorsCARPENTRY_CONTRACTORS
Carpentry contractorsELECTRICAL_CONTRACTORS
Electrical contractorsEQUIPMENT_TOOLS_FURNITURE_RENTAL_LEASING
Equipment, tools or furniture rental/leasingGENERAL_CONTRACTORS
General contractorsSPECIAL_TRADE_CONTRACTORS
Special trade contractors
- Charity and Donations
CHARITY_AND_DONATIONS
Charity and DonationsFUNDRAISING_CROWDFUNDING_SOCIAL_SERVICE
Fundraising, crowdfunding and social service organizations
- Digital Products
APPS
AppsBOOKS_MEDIA_MOVIES_MUSIC
Books, media, movies, musicGAMES
GamesSOFTWARE_AND_SUBSCRIPTIONS
Software and subscriptions
- Education
CHILD_CARE_SERVICES
Child care servicesCOLLEGES_UNIVERSITIES
Colleges or universitiesELEMENTARY_SECONDARY_SCHOOLS
Elementary or secondary schoolsOTHER_EDUCATIONAL_SERVICES
Other educational servicesVOCATIONAL_SCHOOLS_TRADE_SCHOOLS
Vocational schools or trade schools
- Entertainment and Recreation
AMUSEMENT_PARKS
Amusement Parks, Circuses, Carnivals, and Fortune TellersEVENT_TICKETING
Event ticketingGAMING_ESTABLISHMENTS
Gaming establishments, incl. billiards, pool, bowling, arcadesMOVIE_THEATRES
Movie theatresMUSICIANS_BANDS_ORCHESTRAS
Musicians, bands, or orchestrasONLINE_GAMBLING
Online gamblingOTHER_ENTERTAINMENT_RECREATION
Other entertainment and recreationSPORTING_RECREATIONAL_CAMPS
Sporting and Recreational CampsSPORTS_FORECASTING
Sports forecasting or prediction services
- Financial Services
CREDIT_COUNSELLING_REPAIR
Credit counselling or credit repairDIGITAL_WALLETS
Digital walletsINVESTMENT_SERVICES
Investment servicesMONEY_SERVICES
Money services or transmissionMORTGAGES_INSURANCES_LOANS_FINANCIAL_ADVICE
Mortgages, insurances, loans and financial adviceSECURITY_BROKERS_DEALERS
Security brokers or dealersTRUST_OFFICES
Trust officesVIRTUAL_CRYPTO_CURRENCIES
Virtual currencies and crypto currencies
- Food and Drink
CATERERS
Caterers (prepare and delivery)FAST_FOOD_RESTAURANTS
Fast food restaurantsFOOD_PRODUCT_STORES
Grocery stores, supermarkets and food product storesRESTAURANTS_NIGHTLIFE
Restaurants, nightlife & other on-premise consumption
- Lodging and Hospitality
BOAT_RENTALS_LEASING
Boat Rentals and LeasingCRUISE_LINES
Cruise linesLODGING
Hotels, Motels, Resorts, Inns and other lodging and hospitalityPROPERTY_RENTALS_CAMPING
Property rentals / Camping
- Marketplaces
MARKETPLACES
Marketplaces
- Medical Services
DENTAL_EQUIPMENT_SUPPLIES
Dental, lab and/or ophthalmic equipment and suppliesDENTISTS_ORTHODONTISTS
Dentists and orthodontistsMEDICAL_SERVICES
Doctors, physicians and other medical servicesDRUG_PHARMACIES_PRESCRIPTION
Drug Stores, pharmacies and prescription medicineMEDICAL_DEVICES
Medical devicesMEDICAL_ORGANIZATIONS
Medical organizationsMENTAL_HEALTH_SERVICES
Mental health servicesNURSING
Nursing or personal care facilities and assisted livingOPTICIANS_EYEGLASSES
Opticians and eyeglasses
- Membership Organizations
SOCIAL_ASSOCIATIONS
Civic, fraternal, or social associationsMEMBERSHIP_FEE_BASED_SPORTS
Gyms, membership fee based sportsOTHER_MEMBERSHIP_ORGANIZATIONS
Other membership organizations
- Personal Services
ADULT_CONTENT_SERVICES
Adult content or servicesCOUNSELING_SERVICES
Counseling servicesDATING_SERVICES
Dating servicesHEALTH_BEAUTY_SPAS
Health and beauty spasLANDSCAPING_SERVICES
Landscaping servicesLAUNDRY_DRYCLEANING_SERVICES
Laundry or (dry)cleaning servicesMASSAGE_PARLOURS
Massage parloursOTHER_PERSONAL_SERVICES
Other personal servicesPHOTOGRAPHY_STUDIOS
Photography StudiosSALONS_BARBERS
Salons or barbers
- Political Organizations
POLITICAL_PARTIES
Political parties
- Professional Services
ACCOUNTING_AUDITING_BOOKKEEPING_TAX_PREPARATION_SERVICES
Accounting, auditing, bookkeeping and tax preparation servicesADVERTISING_SERVICES
Advertising ServicesCLEANING_MAINTENANCE_JANITORIAL_SERVICES
Cleaning and maintenance, janitorial servicesCOMPUTER_REPAIR
Computer repairCONSULTANCY
ConsultancySECURITY_SERVICES
Detective/protective agencies, security servicesDIRECT_MARKETING
Direct marketingFUNERAL_SERVICES
Funeral services and crematoriesGOVERNMENT_SERVICES
Government servicesHOSTING_VPN_SERVICES
Hosting and VPN servicesINDUSTRIAL_SUPPLIES_NOT_ELSEWHERE_CLASSIFIED
Industrial supplies, not elsewhere classifiedLEGAL_SERVICES_ATTORNEYS
Legal Services and AttorneysMOTION_PICTURES_DISTRIBUTION
Motion picture / video tape production and/or distributionOTHER_BUSINESS_SERVICES
Other business servicesPRINTING_PUBLISHING
Printing and publishingREAL_ESTATE_AGENTS
Real Estate AgentsSANITATION_POLISHING_SPECIALTY_CLEANING
Sanitation, polishing and specialty cleaningOFFICE_SUPPLIES
Stationery / Office suppliesTESTING_LABORATORIES_NOT_MEDICAL
Testing laboratories (not medical)TRAINING_AND_COACHING
Training and CoachingUTILITIES
Utilities
- Religious Organizations
RELIGIOUS_ORGANIZATIONS
Religious organizations
- Retail
CLOTHING_SHOES_ACCESSORIES
(Sports) clothing, shoes and accessoriesCOMMERCIAL_ART
Art Dealers, Galleries, (commercial) Photography and GraphicsBEAUTY_PRODUCTS
Beauty productsBOOKS_PERIODICALS_NEWSPAPERS
Books, Periodicals and NewspapersHOME_IMPROVEMENT
Building, home improvement and equipmentGIFTS_SHOPS
Cards, gifts, novelty and souvenir shopsCBD_MARIJUANA_PRODUCTS
CBD/Marijuana (related) productsCOFFEE_SHOPS
Coffee shops / grow shopsCONVENIENCE_STORES
Convenience Stores, Specialty Markets, Health Food StoresGIFT_CARDS
Credits, vouchers, gift cards (excl. SIM cards) for Non-Financial InstitutionsEROTIC_TOYS
Erotic toysFLORISTS
Florists, florist supplierFUEL_DEALERS
Fuel dealers (i.e. oil, pertroleum)FURNITURE_FURNISHINGS_EQUIPMENT_STORES
Furniture, Home Furnishings and Equipment StoresGAME_TOY_HOBBY_SHOPS
Game, Toy and Hobby ShopsOUTDOOR_EQUIPMENT
Garden and outdoor equipmentHOME_ELECTRONICS
Home electronics & (personal) computersHOUSEHOLD_APPLIANCE_STORES
Household appliance storesJEWELRY_WATCH_CLOCK_AND_SILVERWARE_STORES_UNDER_1000
Jewelry, Watch, Clock, and Silverware Stores (<1000 euro)MUSIC_STORES
Music Stores, Instruments and RecordsOTHER_MERCHANDISE
Other merchandiseLIQUOR_STORES
Package Stores–Beer, Wine, and LiquorPAID_TELEVISION_RADIO
Paid television or radio services (cable/satellite)PRECIOUS_STONES_METALS_JEWELRY_OVER_1000
Precious Stones, Metals, Watches and Jewelry (>1000 euro)REPAIR_SHOPS
Repair shops and related services, not elsewhere classifiedSECOND_HAND_STORES
Second hand / used merchandise storesSPORTING_GOODS_SPECIALTY_RETAIL_SHOPS
Sporting Goods Stores, Miscellaneous and Specialty Retail ShopsSUPPLEMENTS_STORES
Supplements, nutrition, vitamin storesTELECOM_EQUIPMENT
Telecom equipment (i.e. chargers, phones)TELECOM_SERVICES
Telecom services (incl. (anonymous) SIM cards)TOBACCO_PRODUCTS
Tobacco, cigars, e-cigarettes and related productsTRADERS_DIAMONDS
Traders in diamondsTRADERS_GOLD
Traders in goldWEAPONS_AMMUNITION
Weapons or ammunition
- Transportation
COMMUTER_TRANSPORTATION
Commuter transportationCOURIER_SERVICES
Courier services and Freight forwardersOTHER_TRANSPORTATION_SERVICES
Other transportation servicesRIDESHARING
Taxis, limos and ridesharing
- Travel Services
TRAVEL_SERVICES
Travel agencies, tour operators and other traval services
- Vehicles
AUTOMOTIVE_PARTS_ACCESSORIES
Auto(motive) parts and accessoriesCAR_TRUCK_COMPANIES
Auto and truck sales and service dealers and leasing companiesAUTOMOTIVE_SERVICES
Automotive servicesBICYCLE_PARTS_SHOPS_SERVICE
Bicycle (parts) shops and serviceCAR_BOAT_CAMPER_MOBILE_HOME_DEALER
Car, boat, camper, mobile Home dealerCAR_RENTALS
Car rentalsMOTORCYCLE_PARTS_SHOPS_AND_DEALERS
Motorcycle (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.