lib/velopayments/api/payee_invitation_api.rb
# Resend Payee Invite
# &lt;p&gt;Resend an invite to the Payee The payee must have already been invited by the payor and not yet accepted or declined&lt;/p&gt; &lt;p&gt;Any previous invites to the payee by this Payor will be invalidated&lt;/p&gt; 
# @param payee_id [String] The UUID of the payee.
# @param invite_payee_request2 [InvitePayeeRequest2] Provide Payor Id in body of request
# @param [Hash] opts the optional parameters
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
Resend Payee Invite
<p>Resend an invite to the Payee The payee must have already been invited by the payor and not yet accepted or declined</p> <p>Any previous invites to the payee by this Payor will be invalidated</p>.
Resend Payee Invite <p > Resend an invite to the Payee The payee must have already been invited by the payor and not yet accepted or declined< / p > <p > Any previous invites to the payee by this Payor will be invalidated< / p > .
def resend_payee_invite_v4_with_http_info(payee_id, invite_payee_request2, opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug 'Calling API: PayeeInvitationApi.resend_payee_invite_v4 ...'
      end
      if @api_client.config.client_side_validation && payee_id.nil?
        fail ArgumentError, "Missing the required parameter 'payee_id' when calling PayeeInvitationApi.resend_payee_invite_v4"
      end
      if @api_client.config.client_side_validation && invite_payee_request2.nil?
        fail ArgumentError, "Missing the required parameter 'invite_payee_request2' when calling PayeeInvitationApi.resend_payee_invite_v4"
      end
      local_var_path = '/v4/payees/{payeeId}/invite'.sub('{' + 'payeeId' + '}', CGI.escape(payee_id.to_s))
      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'])
      form_params = opts[:form_params] || {}
      post_body = opts[:debug_body] || @api_client.object_to_http_body(invite_payee_request2)
      return_type = opts[:debug_return_type]
      auth_names = opts[:debug_auth_names] || ['OAuth2']
      new_options = opts.merge(
        :operation => :"PayeeInvitationApi.resend_payee_invite_v4",
        :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#resend_payee_invite_v4\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def resend_payee_invite_v4_with_http_info ( payee_id , invite_payee_request2 , opts = { } ) if @api_client . config . debugging @api_client . config . logger . debug 'Calling API: PayeeInvitationApi.resend_payee_invite_v4 ...' end if @api_client . config . client_side_validation && payee_id . nil? fail ArgumentError , "Missing the required parameter 'payee_id' when calling PayeeInvitationApi.resend_payee_invite_v4" end if @api_client . config . client_side_validation && invite_payee_request2 . nil? fail ArgumentError , "Missing the required parameter 'invite_payee_request2' when calling PayeeInvitationApi.resend_payee_invite_v4" end local_var_path = '/v4/payees/{payeeId}/invite' . sub ( '{' + 'payeeId' + '}' , CGI . escape ( payee_id . to_s ) ) 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' ] ) form_params = opts [ :form_params ] || { } post_body = opts [ :debug_body ] || @api_client . object_to_http_body ( invite_payee_request2 ) return_type = opts [ :debug_return_type ] auth_names = opts [ :debug_auth_names ] || [ 'OAuth2' ] new_options = opts . merge ( :operation => :" PayeeInvitationApi.resend_payee_invite_v4 " , :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#resend_payee_invite_v4\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
Resend Payee Invite
&lt;p&gt;Resend an invite to the Payee The payee must have already been invited by the payor and not yet accepted or declined&lt;/p&gt; &lt;p&gt;Any previous invites to the payee by this Payor will be invalidated&lt;/p&gt;
Resend Payee Invite &lt ; p&gt ; Resend an invite to the Payee The payee must have already been invited by the payor and not yet accepted or declined&lt ; / p&gt ; &lt ; p&gt ; Any previous invites to the payee by this Payor will be invalidated&lt ; / p&gt ;
# verify the required parameter 'payee_id' is set # verify the required parameter 'invite_payee_request2' is set # resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # HTTP header 'Content-Type' # form parameters # http body (model) # return_type # auth_names
nil, response status code and response headers
nil response status code and response headers
Array<(nil, Integer, Hash)>
payee_id
The UUID of the payee.
The UUID of the payee .
invite_payee_request2
Provide Payor Id in body of request
Provide Payor Id in body of request
opts
<not_specific>
<not_specific>
opts the optional parameters
opts the optional parameters