Class used to call the apex.processor_token subproduct

Sections
Methods
C
Public
Instance Public methods
create(access_token, account_id)

Creates an Apex processor token from an access_token.

Does a POST /processor/apex/processor_token/create call which can be used to generate an Apex processor token for a given account ID.

access_token

access_token to create a public token for.

account_id

ID of the account to create a processor token for.

Returns

Returns a ProcessorTokenResponse object containing an Apex processor token.

# File lib/plaid/products/processor.rb, line 87
def create(access_token, account_id)
  post_with_auth 'processor/apex/processor_token/create',
                 ProcessorTokenResponse,
                 access_token: access_token,
                 account_id: account_id
end