class Adyen::GrantAccountsApi

def get_grant_account(id, headers: {})

def get_grant_account(id, headers: {})
  endpoint = '/grantAccounts/{id}'.gsub(/{.+?}/, '%s')
  endpoint = endpoint.gsub(%r{^/}, '')
  endpoint = format(endpoint, id)
  
  action = { method: 'get', url: endpoint }
  @client.call_adyen_api(@service, action, {}, headers, @version)
end

def initialize(client, version = DEFAULT_VERSION)

def initialize(client, version = DEFAULT_VERSION)
  super(client, version, 'BalancePlatform')
end