lib/gocardless_pro/services/mandate_import_entries_service.rb
# For an existing [mandate import](#core-endpoints-mandate-imports), this
# endpoint can
# be used to add individual mandates to be imported into GoCardless.
#
# You can add no more than 30,000 rows to a single mandate import.
# If you attempt to go over this limit, the API will return a
# `record_limit_exceeded` error.
# Example URL: /mandate_import_entries
# @param options [Hash] parameters as a hash, under a params key.
For an existing [mandate import](#core-endpoints-mandate-imports), this
endpoint can
be used to add individual mandates to be imported into GoCardless.

You can add no more than 30,000 rows to a single mandate import.
If you attempt to go over this limit, the API will return a
`record_limit_exceeded` error.
For an existing [ mandate import ] ( #core - endpoints - mandate - imports ) this endpoint can be used to add individual mandates to be imported into GoCardless . You can add no more than 30 000 rows to a single mandate import . If you attempt to go over this limit the API will return a ` record_limit_exceeded ` error .
def create(options = {})
        path = '/mandate_import_entries'
        params = options.delete(:params) || {}
        options[:params] = {}
        options[:params][envelope_key] = params
        options[:retry_failures] = true
        response = make_request(:post, path, options)
        return if response.body.nil?
        Resources::MandateImportEntry.new(unenvelope_body(response.body), response)
      end
def create ( options = { } ) path = '/mandate_import_entries' params = options . delete ( :params ) || { } options [ :params ] = { } options [ :params ] [ envelope_key ] = params options [ :retry_failures ] = true response = make_request ( :post , path , options ) return if response . body . nil? Resources :: MandateImportEntry . new ( unenvelope_body ( response . body ) , response ) end
For an existing [mandate import](#core-endpoints-mandate-imports), this
endpoint can
be used to add individual mandates to be imported into GoCardless.
For an existing [ mandate import ] ( #core - endpoints - mandate - imports ) this endpoint can be used to add individual mandates to be imported into GoCardless .
options
parameters as a hash, under a params key.
parameters as a hash under a params key .