Merchant enrichment data — merchant details and merchant location/branch details associated with card transactions.
Required scope: merchant:read.
Summary
Functions
Fetches merchant details by merchant UID.
Fetches a specific merchant location (branch/outlet) by merchant and location UID.
Functions
@spec get(String.t(), StarlingBank.Client.t() | keyword() | nil) :: {:ok, map()} | {:error, StarlingBank.Error.t()}
Fetches merchant details by merchant UID.
@spec get_location(String.t(), String.t(), StarlingBank.Client.t() | keyword() | nil) :: {:ok, map()} | {:error, StarlingBank.Error.t()}
Fetches a specific merchant location (branch/outlet) by merchant and location UID.