Cash Benefit

CSDK handles EBT transactions via the CardType property. Use the CardType of EBT_CASH_BENEFIT instead of CREDIT or DEBIT to process an EBT transaction for a cash benefit program. CSDK supports Sale and Balance Inquiry transaction types for cash benefit programs:

Code Samples

CWS

Request

{
  "method" : "startPaymentTransaction",
  "requestId" : "1102138063",
  "targetType" : "paymentGatewayConverge",
  "version" : "1.0",
  "parameters" : {
    "addToken" : false,
    "gratuityFlowEnabled" : false,
    "transactionType" : "SALE",
    "paymentGatewayId" : "1234",
    "tenderType" : "CARD",
    "cardType" : "EBT_CASH_BENEFIT"
    "generateToken" : false,
    "gratuityCustomAmountEntryAllowed" : false,
    "partialApprovalAllowed" : false,
    "isTaxInclusive" : false,
    "baseTransactionAmount" : {
      "amount" : 100,
      "currencyCode" : "USD",
      "value" : 100
    }
  }
}
Later…
{
  "method" : "getPaymentTransactionStatus",
  "requestId" : "1127289456",
  "targetType" : "cardReader",
  "version" : "1.0",
  "parameters" : {
    "id" : "1127289455"
  }
}

Response

{
  "requestId" : "32878570",
  "statusDetails" : "REQUEST_ACCEPTED",
  "data" : {
    "paymentGatewayCommand" : {
      "completed" : true,
      "eventQueue" : [ ],
      "chanId" : "239c9b47-c6c3-462b-8701-b83586bdf3e6",
      "paymentTransactionData" : {
        "result" : "APPROVED",
        "authCode" : "******",
        "date" : "Fri Mar 04 13:14:54 MST 2016",
        "cardEntryType" : "SWIPE",
        "resultMessage" : "APPROVED",
        "cardScheme" : "VISA",
        "amount" : {
          "currencyCode" : "USD",
          "value" : 2500
        },
        "id" : "040316A15-6C692699-7640-454A-9FAE-7B2FBFADCB53",
        "transactionType" : "SALE",
        "approved" : "yes",
        "errors" : [ ],
        "maskedPan" : "******",
        "signatureBitmap" : {
          "data" : "...",
          "format" : "SIG_BIN_2"
        },
        "tenderType" : "CARD",
        "balanceDue" : {
          "currencyCode" : "UNKNOWN",
          "value" : 0
        }
      }
    }
  }
}

Java

tender.setAllowedCardTypes(EnumSet.of(ECLCardType.EBT_CASH_BENEFIT));
 
processTransaction(transaction, tender);

Objective-C

[cardTender setAllowedCardTypes:ECLCardType_EbtCashBenefit];
 
[[account transactionProcessor] processTransaction:transaction using:cardTender delegate:myDelegate];

C#

PaymentArgs.cardType = "EBT_CASH_BENEFIT";
 
m_CWS.StartPaymentTransaction(PaymentArgs, MyNotifyCWSEvent, PaymentTransactionComplete); 
//...
/* Called when complete */
public void PaymentTransactionComplete(PaymentTransactionResults results, String[] warnings)
{
 
}