4D Payments SDK 2016 .NET Edition

Questions / Feedback?

Response Property

Contains the response to a transaction.


public GlobalChargeResponse Response { get; }
Public ReadOnly Property Response As GlobalChargeResponse


This property will contain the response returned from the Global Payments server. It should be inspected (and logged) after every transaction. The GlobalChargeResponse type contains the following fields:

ApprovalCode Contains the transaction Authorization code from the card issuer.
AuthorizedAmountIn the case of a partially authorized transaction, this will contain the dollar amount that was actually authorized.
AVSResultCode Contains the address verification result code from the card issuer.
AVSResultMessageContains a formatted and human-readable response message describing the AVSResultCode.
Balance Available balance remaining on a pre-paid credit card.
BalanceDue In the case of a partial authorization, indicates the amount the customer still owes the merchant.
BatchNumber The number of the current batch, in which this transaction is contained.
CardType Indicates the credit card type or payment method.
Code Contains the transaction result code from the Global Transport Gateway.
CommercialCard Indicates if the card that was just authorized was a commercial card.
CVVResultCode Contains the card verification result code from the card issuer.
CVVResultMessageContains a formatted and human-readable response message describing the CVVResultCode.
Data Contains the raw response from the Global Payments host.
HostCode Action code (or sequence number) returned by Global Payments.
InvoiceNumber Contains the same invoice number for the transaction that was originally sent in the request.
MerchantCode Merchant Id code which must be printed on all receipts.
Message Contains a human-readable response message concerning the processed transaction.
MessageDetail Contains an additional, more detailed message about the results of the transaction.
PNRef Uniquely identifies the transaction in the Global Transport Gateway.
TransactionId Card issuer's Transaction Reference Number.
ValidationCode Visa Validation code. (returned only for Visa transactions).

This property is read-only.

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