Get Merchant
Changed onReturns a Merchant for a valid Merchant code.
Request
- Base URLhttps://api.sumup.com
- URLhttps://api.sumup.com/v1/merchants/{merchant_code}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://api.sumup.com/authorizeToken URL: https://api.sumup.com/token scopes: user.profile, user.profile_readonly
Path parameters
Short unique identifier for the merchant.
Response
Returns a Merchant for a valid identifier.
Example response
{
"merchant_code": "MK01A8C2",
"organization_id": "G0UZPVAX",
"company": {
"name": "Gin & Doughnuts Bar GmbH",
"merchant_category_code": "1532",
"legal_type": "de.freiberufler",
"address": {
"street_address": [
"Paul-Linke-Ufer 39-40",
"2. Hinterhof"
],
"post_code": "10999",
"city": "Berlin",
"country": "DE"
},
"trading_address": {
"street_address": [
"Paul-Linke-Ufer 39-40",
"2. Hinterhof"
],
"post_code": "10999",
"city": "Berlin",
"country": "DE"
},
"identifiers": [
{
"ref": "de.gmbh",
"value": "HRB 123456"
}
],
"phone_number": "+420123456789",
"website": "https://www.sumup.com",
"attributes": {}
},
"country": "BR",
"business_profile": {
"name": "Example Coffee",
"dynamic_descriptor": "Example Coffee",
"website": "https://example.com",
"email": "contact@example.com",
"phone_number": "+420123456789",
"address": {
"street_address": [
"Paul-Linke-Ufer 39-40",
"2. Hinterhof"
],
"post_code": "10999",
"city": "Berlin",
"country": "DE"
},
"branding": {
"footer_text": "Thanks for shopping with us.",
"primary_color": "#FF4B3A",
"primary_color_fg": "#FF4B3A",
"secondary_color": "#FF4B3A",
"secondary_color_fg": "#FF4B3A",
"background_color": "#FF4B3A"
}
},
"default_currency": "EUR",
"default_locale": "de-DE",
"meta": {},
"classic": {
"id": 1234
},
"version": "chng_01HS0KG3MPVEVWW85E3KNXH55J",
"created_at": "2021-08-31T12:00:00Z",
"updated_at": "2021-08-31T12:00:00Z"
}Changes
- breaking
the
///response property's maxLength was unset from2for the response status - breaking
the
//response property's maxLength was unset from64for the response status - breaking
the
//response property's maxLength was unset from16for the response status - breaking
the
///response property's minLength was decreased from2to0for the response status - breaking
the
//response property's minLength was decreased from4to0for the response status - breaking
the
///response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromobjectto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromobjectto no type for status - breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - info
added
subschema #1to the//response propertyallOflist for the response status - info
added
subschema #1to the//response propertyallOflist for the response status - info
added
subschema #1to the///response propertyallOflist for the response status - info
added
subschema #1to the//response propertyallOflist for the response status - info
added
subschema #1to the//response propertyallOflist for the response status - info
the
///response's property pattern^[A-Z]{2}$was removed for the status - info
the
//response's property pattern^[a-z]{2}\.[a-z_]+$was removed for the status
- breaking
- warning
deleted the
queryrequest parameterversion - info
the
////response's property pattern^[a-z]{2}\.[a-z_]+$was added for the status - info
the
//response's property pattern^[a-z]{2}\.[a-z_]+$was added for the status - info
the
//response's property pattern was changed from^[a-zA-Z0-9 \-+\'_.]{0,30}$to^[a-zA-Z0-9 +'_.-]+$for the status
- warning