menu

Response Variables

Below is the list of response variables with short description

Variable Name Datatype Description
success boolean Transaction status
message string Contains gateway success/error message
amount float Charged amount
currencyCode Currency enum Currency in which amount is charged
cardExpiryYear string Four digit card expiry year e.g. 2017
cardExpiryMonth string Two digits card expiry month e.g 04
cardFirst6 string First 6 digits of card
cardLast4 string Last four digits of card
maskedCard string Masked card number
transactionId string Gateway provided transaction id
rebillParams json Pre build rebill parameters required to charge recurring transaction
voidParams json Pre build void paramters required to void the previously charged transaction
refundParams json Pre build refund paramters required to redunf the previously charged transaction
gatewayResponse json Contains the full gateway response