BTBinData

Objective-C

@interface BTBinData : NSObject

Swift

class BTBinData : NSObject

Contains the bin data associated with a payment method

  • Create a BTBinData object from JSON.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithJSON:(nonnull BTJSON *)json;

    Swift

    init(json: BTJSON)
  • Whether the card is a prepaid card. Possible values: Yes/No/Unknown

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *prepaid;

    Swift

    var prepaid: String? { get }
  • Whether the card is a healthcare card. Possible values: Yes/No/Unknown

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *healthcare;

    Swift

    var healthcare: String? { get }
  • Whether the card is a debit card. Possible values: Yes/No/Unknown

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *debit;

    Swift

    var debit: String? { get }
  • A value indicating whether the issuing bank’s card range is regulated by the Durbin Amendment due to the bank’s assets. Possible values: Yes/No/Unknown

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *durbinRegulated;

    Swift

    var durbinRegulated: String? { get }
  • Whether the card type is a commercial card and is capable of processing Level 2 transactions. Possible values: Yes/No/Unknown

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *commercial;

    Swift

    var commercial: String? { get }
  • Whether the card is a payroll card. Possible values: Yes/No/Unknown

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *payroll;

    Swift

    var payroll: String? { get }
  • The bank that issued the credit card, if available.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *issuingBank;

    Swift

    var issuingBank: String? { get }
  • The country that issued the credit card, if available.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *countryOfIssuance;

    Swift

    var countryOfIssuance: String? { get }
  • The code for the product type of the card (e.g. D (Visa Signature Preferred), G (Visa Business)), if available.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *productID;

    Swift

    var productID: String? { get }