SyncteraRubySdk::VirtualCard

Properties

Name Type Description Notes
form String PHYSICAL or VIRTUAL.
account_id String The ID of the account to which the card will be linked [optional]
card_product_id String The card product to which the card is attached [optional]
creation_time Time The timestamp representing when the card issuance request was made [optional][readonly]
customer_id String The ID of the customer to whom the card will be issued [optional]
emboss_name EmbossName [optional]
expiration_month String [optional][readonly]
expiration_time Time The timestamp representing when the card would expire at [optional][readonly]
expiration_year String [optional][readonly]
id String Card ID [optional][readonly]
is_pin_set Boolean indicates whether a pin has been set on the card [optional][readonly][default to false]
last_four String The last 4 digits of the card PAN [optional][readonly]
last_modified_time Time The timestamp representing when the card was last modified at [optional][readonly]
metadata Hash<String, String> Additional data to include in the request structured as key-value pairs [optional]
reissue_reason String This is the reason the card needs to be reissued, if any. The reason determines several behaviours: - whether or not the new card will use the same PAN as the original card - the old card will be terminated and if so, when it will be terminated Reason Same PAN
reissued_from_id String When reissuing a card, specify the card to be replaced here. When getting a card's details, if this card was issued as a reissuance of another card, this ID refers to the card was replaced. If this field is set, then reissue_reason must also be set. [optional]
reissued_to_id String If this card was reissued, this ID refers to the card that replaced it. [optional][readonly]
type CardType [optional]

Example

require 'synctera_ruby_sdk'

instance = SyncteraRubySdk::VirtualCard.new(
  form: null,
  account_id: 7d943c51-e4ff-4e57-9558-08cab6b963c7,
  card_product_id: 7d943c51-e4ff-4e57-9558-08cab6b963c7,
  creation_time: 2010-05-06T12:23:34.321Z,
  customer_id: 7d943c51-e4ff-4e57-9558-08cab6b963c7,
  emboss_name: null,
  expiration_month: 06,
  expiration_time: 2010-05-06T12:23:34.321Z,
  expiration_year: 25,
  id: 7d943c51-e4ff-4e57-9558-08cab6b963c7,
  is_pin_set: true,
  last_four: 1234,
  last_modified_time: 2010-05-06T12:23:34.321Z,
  metadata: null,
  reissue_reason: null,
  reissued_from_id: 7d943c51-e4ff-4e57-9558-08cab6b963c7,
  reissued_to_id: 7d943c51-e4ff-4e57-9558-08cab6b963c7,
  type: null
)