SyncteraRubySdk::InternalTransferResponse

Properties

Name Type Description Notes
amount Integer The amount (in cents) to transfer from originating account to receiving account.
capture_mode String Controls when the transfer will take effect. A value of `IMMEDIATE` (the default) means that the transfer will be completed immediately. A value of `MANUAL` means that the transaction will remain in a "pending" state until explicitly completed or cancelled (or the auth expires). [optional][default to 'IMMEDIATE']
currency String ISO 4217 alphabetic currency code of the transfer amount
expires_at Time When `capture_mode` is `MANUAL`, this field describes when the pending transaction should expire. [optional]
final_customer_id String The customer id of the international customer that receives the final remittance transfer (required for remittance payments). [optional]
memo String A short note to the recipient [optional]
metadata Object Arbitrary key-value metadata to associate with the transaction [optional]
originating_account_alias String An alias representing a GL account to debit. This is alternative to specifying by account id [optional]
originating_account_customer_id String The customer id of the owner of the originating account. [optional]
originating_account_id String The UUID of the account being debited [optional]
receiving_account_alias String An alias representing a GL account to credit. This is an alternative to specifying by account id [optional]
receiving_account_customer_id String The customer id of the owner of the receiving account. [optional]
receiving_account_id String The UUID of the account being credited [optional]
type String The desired transaction type to use for this transfer
id String The transaction id associated with the transfer
status String The status of the internal transfer auth. A value of `PENDING` indicates that the funds have been reserved and the transaction is ready to be either completed or canceled. A value of `COMPLETE` indicates the funds have been successfully moved and no more action can be performed. A value of `CANCELED` or `EXPIRED` means that the transaction has rolled back and the funds have been returned to the originating account, either by explicitly canceling via the API, or due to the expiry time having passed.

Example

require 'synctera_ruby_sdk'

instance = SyncteraRubySdk::InternalTransferResponse.new(
  amount: null,
  capture_mode: null,
  currency: USD,
  expires_at: null,
  final_customer_id: null,
  memo: null,
  metadata: null,
  originating_account_alias: ach_suspense,
  originating_account_customer_id: null,
  originating_account_id: null,
  receiving_account_alias: ach_suspense,
  receiving_account_customer_id: null,
  receiving_account_id: null,
  type: null,
  id: null,
  status: null
)