4D Payments SDK 2016 .NET Edition

Questions / Feedback?

DebitKSN Property

Clear-text Key Sequence Number, used for Debit transactions.


public string DebitKSN { get; set; }
Public Property DebitKSN As String

Default Value



The value of this property must be retrieved from a certified PIN pad device. This property is only valid for Debit Card transactions. The maximum length is 16 characters.

Note: If either the DebitPIN or DebitKSN properties are present, the component will assume this is a debit card transaction. Debit transactions are only supported by the Retail IndustryType, and only for Card Present transactions. For any other type of transaction the component throws an exception.

  component.IndustryType = itRetail 
  component.Card = new CCCard("9999999800002773=05121015432112345678", EntryDataSources.edsTrack2)
  component.TransactionAmount = "25.00"
  component.PINCapability = ppVerifiedPIN
  component.DebitPIN = "623F36B53CC18393"
  component.DebitKSN = "000000008F000021"
  component.DebitCashBack = "5.00"

Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 8017]