code: def _determine_api_url(self, platform, service, action):
          
          base_uri = settings.BASE_PAL_URL.format(platform)
          if service == "Recurring":
              api_version = settings.API_RECURRING_VERSION
          elif service == "Payout":
              api_version = settings.API_PAYOUT_VERSION
          else:
              api_version = settings.API_PAYMENT_VERSION
          return '/'.join([base_uri, service, api_version, action])
docs: This returns the Adyen API endpoint based on the provided platform,
          service and action.
  
          Args:
              platform (str): Adyen platform, ie 'live' or 'test'.
              service (str): API service to place request through.
              action (str): the API action to perform.