Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.26 KB

File metadata and controls

29 lines (22 loc) · 1.26 KB

OpenapiClient::PaymentTokenDetails

Properties

Name Type Description Notes
value String Client-supplied payment token value. Only applicable for DataVault tokenization scheme. [optional]
reusable Boolean If the token is reusable. [optional] [default to true]
decline_duplicates Boolean Decline duplicate payment info if client token is supplied. [optional] [default to false]
last4 String The last 4 numbers of a payment card. [optional]
brand String Card brand, only for tokenization with payment. [optional]
account_verification Boolean If the account the token was created from has been verified. [optional]
type String Inidcates the type of tokenization source. [optional]

Code Sample

require 'OpenapiClient'

instance = OpenapiClient::PaymentTokenDetails.new(value: 234ljl124l12,
                                 reusable: true,
                                 decline_duplicates: false,
                                 last4: 4997,
                                 brand: VISA,
                                 account_verification: true,
                                 type: PAYMENT_CARD)