Postback Parameters
In online payment processing, a postback is a server-to-server communication used to notify you of events or actions related to transactions processed through Segpay. And postback parameters provide detailed information about these events, enabling you to integrate Segpay's services seamlessly with your systems.
Each parameter consists of a key (the parameter's name) and a value (the data it holds). You have the flexibility to create custom postbacks by adding specific parameters to the postback URL, allowing you to receive only the information essential for your needs. This streamlines your data processing and reduces unnecessary data transfer.
Default Postback vs. Custom Postback
-
Default Postback: When you don't specify any parameters in the postback URL, you'll receive a default postback containing all available parameters relevant to that specific postback type. This ensures you get comprehensive information about the event. -
Custom Postback: You have the flexibility to create a custom postback by adding specific parameters to the postback URL. This allows you to receive only the information that's essential for your needs.
-
Customize your postbacks to receive only the data you need by adding specific parameters to the postback URL.
-
You can arrange the parameters within the postback URL in any order you prefer.
-
If you omit parameters, you'll receive a default postback containing all available parameters for that postback type.
-
For more information on setting up postbacks and examples, see our article, Postbacks.
Available Postback Parameters
Refer to the comprehensive table for a the complete list of postback parameters and the postback types they can be used with.
Postback Parameter | Description | Data Type | Available Postback Types |
---|---|---|---|
|
Indicates the customer was authenticated via 3-D Secure (Yes/No). | String (Yes/No) | Transaction |
|
NOT CURRENTLY USED. Will include type of 3-D Secure authentication used. |
String | Transaction |
|
The action that triggered this postback. | String | Inquiry, Access Enable, Access Disable, Cancellation, Reactivation, Transaction |
|
Indicates transaction status.
|
String (Yes/No) | Inquiry, Access Enable, Transaction |
|
Response code for a transaction. | String/Integer | Transaction |
|
Currency used for Amount Verification transaction based on consumer's selection. | String | Transaction |
|
Converted amount, in an Amount Verification transaction, according to your base currency and the exchange rate on the day of the transaction. | Decimal | Transaction |
|
Consumer’s billing street address. Collected on the pay page or passed to Segpay. | String | Inquiry, Access Enable, Transaction |
|
Consumer’s billing city. Collected on the pay page or passed to Segpay | String | Inquiry, Access Enable, Transaction |
|
Consumer's billing country (two-character ISO code). Collected on the pay page or passed to Segpay. | String | Inquiry, Access Enable, Transaction |
|
Consumer’s e-mail address. | String | Inquiry, Access Enable, Transaction |
|
Consumer’s first and last name. | String | Inquiry, Access Enable, Reactivation, Transaction |
|
Consumer's first name. | String | Inquiry, Access Enable, Reactivation, Transaction |
|
Consumer’s last name. | String | Inquiry, Access Enable, Reactivation, Transaction |
|
Consumer's phone number. Collected on the pay page or passed to Segpay. | String | Inquiry, Access Enable, Transaction |
|
Consumer’s billing state. Collected on the pay page or passed to Segpay. | String | Inquiry, Access Enable, Transaction |
|
Consumer’s billing zip code. Collected on the pay page or passed to Segpa | String | Inquiry, Access Enable, Transaction |
|
Additional comment entered when a cancellation is processed. Only available in the cancellation postback. | String | Cancellation, Transaction |
|
Name of the consumer that cancelled the transaction. Only available in the cancellation postback. | String | Cancellation, Transaction |
|
Reason code chosen for canceling the transaction (refunds and void transactions only). | String/Integer | Cancellation, Transaction |
|
Type of card used: Visa, MasterCard, JCB, Discover, eCheck, DirectDebit | String | Transaction |
|
Two-character ISO country code associated with the credit card BIN. | String | Transaction |
|
First 6 digits of the card number (BIN). Requires configuration of merchant account to receive this variable. | String/Integer | Transaction |
|
First 4 digits of the card number. Requires configuration of merchant account to receive this variable. | String/Integer | Transaction |
|
The currency used for the transaction:
|
String | Inquiry, Access Enable, Reactivation, Transaction |
|
Bill configuration description. | String | Inquiry, Access Enable, Transaction |
|
PackageID:BillConfigID (Signup and Stand-In only). | String | Inquiry, Access Enable, Reactivation, Transaction |
|
Browser type identified at the time of the transaction. | String | Inquiry, Access Enable, Transaction |
|
Browser version identified at the time of the transaction. | String | Inquiry, Access Enable, Transaction |
|
Two-character ISO country code associated with the IP address for the transaction. | String | Inquiry, Access Enable, Transaction |
|
Indicates if the transaction originated on a mobile device (True/False). | Boolean | Inquiry, Access Enable, Transaction |
|
The Affiliate ID passed to Segpay when the transaction executes. Assign a unique value for the affiliate to help Segpay detect potential fraudulent activities such as excessive trial sign-ups or unauthorized card use. |
String/Integer | Inquiry, Access Enable, Transaction |
|
Password collected on the pay page. | String | Inquiry, Access Enable, Access Disable, Cancellation, Reactivation, Transaction |
|
The platform identified at the time of the transaction. | String | Inquiry, Access Enable, Transaction |
through |
Merchant reference variables stored with the transaction and retrievable later. Ref values are encrypted and passed back in all reports. | String | Inquiry, Access Enable, Transaction |
|
Paypage template associated with the package for the transaction. | String | Inquiry, Access Enable, Transaction |
|
Username collected on the pay page. | String | Inquiry, Access Enable, Access Disable, Cancellation, Reactivation, Transaction |
|
All variables passed in the pay page request via GET or POST, matched to any "extra" variables and returned. | String | Inquiry, Access Enable, Transaction |
|
Length, in days, of the Initial billing period (trial). | Integer | Inquiry, Access Enable, Transaction |
|
Consumer's IP address. | String | Inquiry, Access Enable, Transaction |
|
Initial transaction amount authorized for the sale. | Decimal | Inquiry, Access Enable, Transaction |
|
The last date the reactivated subscription was billed (mm/dd/yyyy). | Date | Reactivation |
|
Next rebill date for reactivated subscription (mm/dd/yyyy). | Date | Reactivation |
|
Secure ID to uniquely identify the credit card used. | String | Transaction |
|
Indicates if payment was made via a prepaid card (Y/N). | String (Y/N) | Inquiry, Access Enable, Transaction |
|
Transaction amount. See |
Decimal | Inquiry, Access Enable, Transaction |
|
Purchase ID of the transaction. | String | Inquiry, Access Enable, Access Disable, Cancellation, Reactivation, Transaction |
|
Date and time (GMT) the reactivation occurred. URL-encoded. | String | Reactivation |
|
Additional comment entered when a refund or void is processed (for refunds and voids only). | String | Access Disable, Transaction |
|
Reason code indicating why the transaction was refunded (for refunds and voids only). | String/Integer | Access Disable, Transaction |
|
Name of the consumer who refunded the transaction (for refunds and voids only). | String | Access Disable, Transaction |
|
Transaction ID of the original sale (for refunds, voids, chargebacks, revokes). | String/Integer | Transaction |
|
Length, in days, of the recurring billing period. | Integer | Inquiry, Access Enable, Transaction |
|
Recurring billing amount. 0 if no recurring amount. | Decimal | Inquiry, Access Enable, Reactivation, Transaction |
|
Indicates if the transaction required Strong Customer Authentication (SCA) via 3-D Secure (Yes/No). Not currently enforced. Applicable for Europe-to-Europe transactions in regions where PSD2 is enforced; the SCA-required parameter is added to custom postbacks even when not specified in the URL string. |
String (Yes/No) |
Transaction |
|
Indicates whether a sale is associated with a single-use promotion (Yes/No). Parameter is programmatically added to a postback for all single-use promo transactions. |
String (Yes/No) |
Transaction |
|
The type of transaction that triggered the event:
|
String | Inquiry, Access Enable, Transaction |
|
Indicates if a stand-in occurred: -1 = Stand-In not supported. 0 = No Stand-In occurred 1 = Stand-In occurred. |
Integer | Inquiry, Access Enable, Transaction |
|
Transaction ID. | String | Inquiry, Access Enable, Transaction |
|
Used for Instant Conversions. Segpay assigned the Global Unique Identifier (GUID) to the transaction. Parameter is programmatically added to a postback for all instant conversion transactions. |
String | Inquiry, Access Enable, Transaction |
|
Indicates the date and time the transaction occurred. Sent URL-encoded. Example URL-encoded: 7%2f28%2f2024+3%3a38%3a43+PM+(GMT+STANDARD+TIME) Example URL Decoded: 7/28/2024 3:38:43 PM (GMT STANDARD TIME) |
String | Inquiry, Access Enable, Transaction |
|
TranType:
|
String | Inquiry, Access Enable, Transaction |
|
Numeric value representing the website ID in the Segpay system. | Integer | Inquiry, Access Enable, Access Disable, Reactivation, Transaction |
|
Used for cross sells. 0 = Main Transaction 1 = First cross sell 2= Second cross sell. |
Integer | Inquiry, Access Enable, Transaction |