Name |
Type |
Description |
Notes |
account_id |
String |
The ID of the account to which the card will be linked |
[optional] |
business_id |
String |
The business ID associated with this card. If no customer_id is supplied, a card can still be issued to a business, but cannot be activated or used until a customer is assigned via the PATCH /cards/{card_id} endpoint. |
[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. If a business_id is passed, but a customer_id not passed at the time of card creation the card cannot be activated or used for spend until it's assigned to a human customer via the PATCH /cards/{card_id} endpoint. If no business_id is passed, a customer_id is required. |
[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] |
timestamp_pin_set |
Time |
Time when the PIN was last set or changed. |
[optional][readonly] |
type |
CardType |
|
[optional] |
form |
String |
PHYSICAL or VIRTUAL. |
|
card_image_id |
String |
The ID of the custom card image used for this card |
[optional] |
shipping |
Shipping |
|
[optional] |
require 'synctera'
instance = Synctera::PhysicalCard.new(
account_id: 7d943c51-e4ff-4e57-9558-08cab6b963c7,
business_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,
timestamp_pin_set: 2010-05-06T12:23:34.321Z,
type: null,
form: null,
card_image_id: 7d943c51-e4ff-4e57-9558-08cab6b963c7,
shipping: null
)