POST
/
merchants
/
match
curl --request POST \
  --url https://east.sandbox.spade.com/merchants/match \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '{
  "requestId": "request_id_123456789",
  "merchantName": "Amazon",
  "address": "123 Main St",
  "city": "New York",
  "region": "NY",
  "country": "USA",
  "postalCode": "10001",
  "latitude": 37.774929,
  "longitude": -90.412702,
  "website": "https://www.amazon.com",
  "customAttributes": {
    "custom_attribute_1": "value_1",
    "custom_attribute_2": "value_2"
  }
}'
{
  "requestId": "<string>",
  "counterparty": {
    "id": "<string>",
    "name": "<string>",
    "similarity": 80
  },
  "location": {
    "id": "<string>",
    "name": "<string>",
    "address": "1234 W 5th Ave Suite 100",
    "city": "New York",
    "similarity": 80
  },
  "customAttributes": {
    "custom_attribute_1": "value_1",
    "custom_attribute_2": "value_2"
  }
}

Authorizations

X-Api-Key
string
header
required

Body

application/json

Response

200
application/json

Successful operation

The response is of type object.