Purchase - fspurchase
This section describes the message parameters for EBT Card - Food Stamp Purchase transaction processing, which you can submit using the XML API integration method. Refer to the Integration Methods section for more information.
fspurchase transaction obtains authorization on an EBT card. This transaction reduces the cardholder’s limit to buy, and places the transaction into the Open batch.
In this section:
For the entire list of API endpoints, refer to API Endpoints.
|Field name||Description||Required||Length||Data type|
Elavon-assigned Converge Account ID (AID).
|Required||6 or 7||numeric|
|Converge User ID|
The user ID with Hosted Payment API User status that can send transaction requests through the terminal.
Unique identifier of the terminal that will process the transaction request and submit to the Converge gateway.
The purchase amount to deduct from the available balance of the EBT card.
Format: Number with 2 decimal places
|Raw Track I and/or II Data|
Track data captured from the card’s magnetic stripe. The data includes beginning and ending sentinels, card’s expiry date, cardholder’s first and last name.
|[PIN Pad]||Values returned by the PIN Pad device.|
Value used to encrypt the PIN of the cardholder.
|Triple-DES DUKPT Pointer|
Indicates the encryption key used on US debit transactions.
|Encrypted PIN Block|
The encrypted personal identification number entered by the EBT cardholder to authenticate ownership of the card.
|Transaction Result Message|
Refer to the EBT Card Response Codes section for an extensive list of possible returned messages.
Unique identifier of the transaction.
|Processing Date and Time|
Indicates when Converge processed the transaction.
Format: MM/DD/YYYY hh:mm:ss AM/PM
Example: 03/18/2010 10:34:10 AM
|Transaction Approval Code|
Unique code returned by the credit card processor that indicates the approval status of the transaction.
|Transaction Reference Number|
|Masked Card Number|
Converge only returns the first 2 or last 4 digits of the regular PAN.
|Card’s Expiry Date|
Returned based on merchant setup.
The total purchase amount.
The cardholder’s or customer’s email address. Returned based on merchant setup.
|[Error]||Returned only if an error occurs. Refer to the Error Codes section for more information.|
Typically, when the transaction failed validation or the request is incorrect. This will prevent the transaction from going to authorization. This is a numeric field.
Detailed explanation of the error. This field may be changed based on merchant configuration in the user interface.
Error name or reason for the error.
- In this example, you will have to change the data values, such as
my_pin, and transaction data to match your Converge account and meet the needs of your website.
- Code samples provided are for demonstration only and should not be used for live transactions. All sensitive merchant data, including transaction amounts and your Converge credentials, should be placed in server side code.
xmldata= <txn> <ssl_merchant_id>my_merchant_id</ssl_merchant_id> <ssl_user_id>my_user_id</ssl_user_id> <ssl_pin>my_pin</ssl_pin> <ssl_transaction_type>fspurchase</ssl_transaction_type> <ssl_amount>2.00</ssl_amount> <ssl_salestax>1</ssl_salestax> <ssl_track_data>%B4124939999999990^ELAVONTEST/TESTCARD^22129015432139614567891234567890?;4124939999999990=221290154321396145?</ssl_track_data> <ssl_dukpt>654321000040002D</ssl_dukpt> <ssl_key_pointer>T</ssl_key_pointer> <ssl_pin_block>sc1000I</ssl_pin_block> </txn>