class

Plaid::TransferAuthorizationCreateRequest

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Defines the request schema for /transfer/authorization/create

Constants

MAX_LENGTH_FOR_IDEMPOTENCY_KEY = 50

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, access_token : String | Nil = nil, account_id : String | Nil = nil, _type : Plaid::TransferType | Nil = nil, network : Plaid::TransferNetwork | Nil = nil, amount : String | Nil = nil, user : Plaid::TransferAuthorizationUserInRequest | Nil = nil, client_id : String | Nil = nil, secret : String | Nil = nil, funding_account_id : String | Nil = nil, payment_profile_token : String | Nil = nil, ach_class : Plaid::ACHClass | Nil = nil, device : TransferAuthorizationDevice | Nil = nil, origination_account_id : String | Nil = nil, iso_currency_code : String | Nil = nil, idempotency_key : String | Nil = nil, user_present : Bool | Nil = nil, with_guarantee : Bool | Nil = true, beacon_session_id : String | Nil = nil, originator_client_id : String | Nil = nil, credit_funds_source : Plaid::TransferCreditFundsSource | Nil = nil, test_clock_id : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

_type
Source
_type=(new_value : Plaid::TransferType | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] _type Object to be assigned

Source
access_token

The Plaid access_token for the account that will be debited or credited.

Source
access_token=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] access_token Object to be assigned

Source
account_id

The Plaid account_id corresponding to the end-user account that will be debited or credited.

Source
account_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] account_id Object to be assigned

Source
ach_class
Source
ach_class=(new_value : Plaid::ACHClass | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] ach_class Object to be assigned

Source
amount

The amount of the transfer (decimal string with two digits of precision e.g. "10.00"). When calling /transfer/authorization/create, specify the maximum amount to authorize. When calling /transfer/create, specify the exact amount of the transfer, up to a maximum of the amount authorized. If this field is left blank when calling /transfer/create, the maximum amount authorized in the authorization_id will be sent.

Source
amount=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] amount Object to be assigned

Source
beacon_session_id

The unique identifier returned by Plaid's beacon when it is run on your webpage.

Source
beacon_session_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] beacon_session_id Object to be assigned

Source
beacon_session_id_present=(beacon_session_id_present : Bool)
Source
beacon_session_id_present?
Source
client_id

Your Plaid API client_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.

Source
client_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] client_id Object to be assigned

Source
credit_funds_source
Source
credit_funds_source=(new_value : Plaid::TransferCreditFundsSource | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] credit_funds_source Object to be assigned

Source
credit_funds_source_present=(credit_funds_source_present : Bool)
Source
credit_funds_source_present?
Source
device
Source
device=(new_value : TransferAuthorizationDevice | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] device Object to be assigned

Source
funding_account_id

Specify the account used to fund the transfer. Should be specified if using legacy funding methods only. If using Plaid Ledger, leave this field blank. Customers can find a list of funding_account_ids in the Accounts page of your Plaid Dashboard, under the "Account ID" column. If this field is left blank and you are using legacy funding methods, this will default to the default funding_account_id specified during onboarding. Otherwise, Plaid Ledger will be used.

Source
funding_account_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] funding_account_id Object to be assigned

Source
funding_account_id_present=(funding_account_id_present : Bool)
Source
funding_account_id_present?
Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

idempotency_key

A random key provided by the client, per unique authorization, which expires after 48 hours. Maximum of 50 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create an authorization fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single authorization is created. This idempotency key expires after 48 hours, after which the same key can be reused. Failure to provide this key may result in duplicate charges.

Source
idempotency_key=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] idempotency_key Object to be assigned

Source
idempotency_key_present=(idempotency_key_present : Bool)
Source
idempotency_key_present?
Source
iso_currency_code

The currency of the transfer amount. The default value is "USD".

Source
iso_currency_code=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] iso_currency_code Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
network
Source
network=(new_value : Plaid::TransferNetwork | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] network Object to be assigned

Source
origination_account_id

Plaid's unique identifier for the origination account for this authorization. If not specified, the default account will be used.

Source
origination_account_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] origination_account_id Object to be assigned

Source
originator_client_id

The Plaid client ID that is the originator of this transfer. Only needed if creating transfers on behalf of another client as a Platform customer.

Source
originator_client_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] originator_client_id Object to be assigned

Source
originator_client_id_present=(originator_client_id_present : Bool)
Source
originator_client_id_present?
Source
payment_profile_token

The payment profile token associated with the Payment Profile that will be debited or credited. Required if not using access_token.

Source
payment_profile_token=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] payment_profile_token Object to be assigned

Source
secret

Your Plaid API secret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.

Source
secret=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] secret Object to be assigned

Source
test_clock_id

Plaid’s unique identifier for a test clock. This field may only be used when using sandbox environment. If provided, the authorization is created at the virtual_time on the provided test clock.

Source
test_clock_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] test_clock_id Object to be assigned

Source
test_clock_id_present=(test_clock_id_present : Bool)
Source
test_clock_id_present?
Source
user
Source

Custom attribute writer method checking allowed values (enum). @param [Object] user Object to be assigned

Source
user_present

If the end user is initiating the specific transfer themselves via an interactive UI, this should be true; for automatic recurring payments where the end user is not actually initiating each individual transfer, it should be false. This field is not currently used and is present to support planned future functionality.

Source
user_present=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] user_present Object to be assigned

Source
user_present_present=(user_present_present : Bool)
Source
user_present_present?
Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source
with_guarantee

If set to false, Plaid will not offer a guarantee_decision for this request (Guarantee customers only).

Source
with_guarantee=(new_value : Bool | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] with_guarantee Object to be assigned

Source
with_guarantee_present=(with_guarantee_present : Bool)
Source
with_guarantee_present?
Source