Merchants
Create Merchant
This operation creates a new Merchant.
Requires merchants:Create permission.
post/merchants
Request
- Base URLhttps://eu-west-1.api.silverflow.com/v1
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"registeredAddress": {
"countryCode": {
"alpha3": "NLD"
},
"stateOrProvince": "Noord-Holland",
"city": "Amsterdam-Duivendrecht",
"line1": "Entrada 300",
"line2": "Floor 3",
"postalCode": "1114 AA"
},
"customerInquiry": "+31850609160",
"tags": {
"IamAKey": "ThisIsaValue!"
},
"merchantAcceptorTemplate": {
"mid": "UO2344SDDAUOGS",
"doingBusinessAsName": "ACME Corp.",
"webshopUrl": "https://acme.com",
"pointOfSaleAddress": {
"countryCode": {
"alpha3": "NLD"
},
"stateOrProvince": "Noord-Holland",
"city": "Amsterdam-Duivendrecht",
"line1": "Entrada 300",
"line2": "Floor 3",
"postalCode": "1114 AA"
},
"tags": {
"IamAKey": "ThisIsaValue!"
}
}
}Response
The created Merchant
Example response
{
"key": "mct-1hPdFhmgaBzMS191nIbJ",
"status": "active",
"agentKey": "cgt-1hPdFhmgaBzMS85d4QcG",
"merchantReference": "AB1234-5678_10.31",
"name": "ACME Corporation A/S",
"description": "ACME Corporation. Building materials, rockets and birdseed.",
"legalName": "ACME Corp. A/S",
"registeredAddress": {
"countryCode": {
"alpha3": "USA",
"alpha2": "US",
"numeric": 528
},
"stateOrProvince": "CA",
"city": "Hill Valley",
"line1": "Riverside Drive 1640",
"postalCode": "91103"
},
"customerInquiry": "+15554321",
"websiteUrl": "https://acme.com/catalog/acme.html",
"created": "2021-05-27T10:57:52Z",
"lastModified": "2021-05-27T10:57:52Z",
"version": 1,
"sellerEmail": "seller@gmail.com",
"taxRegistrationId": "US1234567890",
"businessType": "corporation"
}Changes
No recorded changes to this operation across all 1 revision of this API.