Onboard locations with Merchant ID

Onboarding locations just got faster. :zap:

You can now add merchant IDs (MID) when creating locations. Creating locations with MID makes identifying merchant locations more accurate and faster to onboard.

We initially support Mastercard and Visa MIDs. Amex MIDs coming soon.

You can create locations with MIDs on the Fidel Dashboard:

You can also submit MIDs by using the new searchBy object in the Create Location API endpoint.

curl -X POST \
  https://api.fidel.uk/v1/programs/{programId}/locations \
  -H 'content-type: application/json' \
  -H 'fidel-key: sk_your_secret_key' \
  -d '{
    "address": "43 Frith Street", 
    "brandId": "838d648e-5614-48a7-8e8b-6b3014638c67", 
    "city": "London", 
    "countryCode": "GBR",
    "postcode": "W1V 5TE",
    "searchBy": {
       "merchantIds": {
          "visa": ["12345678","987654321"],
          "mastercard": ["12345678","987654321"]
       }
    }
}'

You can see the Create Location API Reference here: https://reference.fidel.uk/reference#create-location