VillageMerchantOptions

public class VillageMerchantOptions : VillageOptions

Options unique to using the Merchant API operations.

  • If given, the merchant ID will be added to the headers.

    Since the merchant ID identifies the merchant it can be overridden with another value by the API gateway which uses the authentication token to identify the merchant.

    Declaration

    Swift

    public let merchantId: String?
  • :nodoc

    Declaration

    Swift

    public init(
    	apiKey: String,
    	baseUrl: String,
    	wallet: Wallet? = nil,
    	merchantId: String? = nil
    )