lib/velopayments/api/payee_invitation_api.rb
# Initiate Payee Creation
# &lt;p&gt;Use v4 instead&lt;/p&gt; Initiate the process of creating 1 to 2000 payees in a batch Use the response location header to query for status (201 - Created, 400 - invalid request body. In addition to standard semantic validations, a 400 will also result if there is a duplicate remote id within the batch / if there is a duplicate email within the batch, i.e. if there is a conflict between the data provided for one payee within the batch and that provided for another payee within the same batch). The validation at this stage is intra-batch only. Validation against payees who have already been invited occurs subsequently during processing of the batch. 
# @param [Hash] opts the optional parameters
# @option opts [CreatePayeesRequest] :create_payees_request Post payees to create.
# @return [Array<(CreatePayeesCSVResponse, Integer, Hash)>] CreatePayeesCSVResponse data, response status code and response headers
Initiate Payee Creation
<p>Use v4 instead</p> Initiate the process of creating 1 to 2000 payees in a batch Use the response location header to query for status (201 - Created, 400 - invalid request body. In addition to standard semantic validations, a 400 will also result if there is a duplicate remote id within the batch / if there is a duplicate email within the batch, i.e. if there is a conflict between the data provided for one payee within the batch and that provided for another payee within the same batch). The validation at this stage is intra-batch only. Validation against payees who have already been invited occurs subsequently during processing of the batch.
Initiate Payee Creation <p > Use v4 instead< / p > Initiate the process of creating 1 to 2000 payees in a batch Use the response location header to query for status ( 201 - Created 400 - invalid request body . In addition to standard semantic validations a 400 will also result if there is a duplicate remote id within the batch / if there is a duplicate email within the batch i . e . if there is a conflict between the data provided for one payee within the batch and that provided for another payee within the same batch ) . The validation at this stage is intra - batch only . Validation against payees who have already been invited occurs subsequently during processing of the batch .
def v3_create_payee_with_http_info(opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug 'Calling API: PayeeInvitationApi.v3_create_payee ...'
      end
      local_var_path = '/v3/payees'
      query_params = opts[:query_params] || {}
      header_params = opts[:header_params] || {}
      header_params['Accept'] = @api_client.select_header_accept(['application/json'])
      header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
      form_params = opts[:form_params] || {}
      post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_payees_request'])
      return_type = opts[:debug_return_type] || 'CreatePayeesCSVResponse'
      auth_names = opts[:debug_auth_names] || ['OAuth2']
      new_options = opts.merge(
        :operation => :"PayeeInvitationApi.v3_create_payee",
        :header_params => header_params,
        :query_params => query_params,
        :form_params => form_params,
        :body => post_body,
        :auth_names => auth_names,
        :return_type => return_type
      )
      data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: PayeeInvitationApi#v3_create_payee\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def v3_create_payee_with_http_info ( opts = { } ) if @api_client . config . debugging @api_client . config . logger . debug 'Calling API: PayeeInvitationApi.v3_create_payee ...' end local_var_path = '/v3/payees' query_params = opts [ :query_params ] || { } header_params = opts [ :header_params ] || { } header_params [ 'Accept' ] = @api_client . select_header_accept ( [ 'application/json' ] ) header_params [ 'Content-Type' ] = @api_client . select_header_content_type ( [ 'application/json' , 'multipart/form-data' ] ) form_params = opts [ :form_params ] || { } post_body = opts [ :debug_body ] || @api_client . object_to_http_body ( opts [ :' create_payees_request ' ] ) return_type = opts [ :debug_return_type ] || 'CreatePayeesCSVResponse' auth_names = opts [ :debug_auth_names ] || [ 'OAuth2' ] new_options = opts . merge ( :operation => :" PayeeInvitationApi.v3_create_payee " , :header_params => header_params , :query_params => query_params , :form_params => form_params , :body => post_body , :auth_names => auth_names , :return_type => return_type ) data , status_code , headers = @api_client . call_api ( :POST , local_var_path , new_options ) if @api_client . config . debugging @api_client . config . logger . debug "API called: PayeeInvitationApi#v3_create_payee\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
Initiate Payee Creation
&lt;p&gt;Use v4 instead&lt;/p&gt; Initiate the process of creating 1 to 2000 payees in a batch Use the response location header to query for status (201 - Created, 400 - invalid request body.
Initiate Payee Creation &lt ; p&gt ; Use v4 instead&lt ; / p&gt ; Initiate the process of creating 1 to 2000 payees in a batch Use the response location header to query for status ( 201 - Created 400 - invalid request body .
# resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # HTTP header 'Content-Type' # form parameters # http body (model) # return_type # auth_names
CreatePayeesCSVResponse data, response status code and response headers
CreatePayeesCSVResponse data response status code and response headers
Array<(CreatePayeesCSVResponse, Integer, Hash)>
opts
:create_payees_request Post payees to create.
: create_payees_request Post payees to create .
<not_specific>
opts the optional parameters
opts the optional parameters