...
LookupTransaction Response | |||||||||||||||
ResultCode | Result code returned by PayU for transaction | Integer | |||||||||||||
ResultMessage | Result message relating to result code for transaction | VarChar (64) | |||||||||||||
DisplayMessage | Customer friendly message to display in a browser to the customer | VarChar (64) | |||||||||||||
LookupData | Array of key value pairs within entry nodes where value is a JSON object | Array of JSON objects | |||||||||||||
CreditCard key | The following fields are returned:
| JSON object | Wallet key | ||||||||||||
cardBalance | Card balance of the user | ||||||||||||||
cashBalance | Caash balance of the user | ||||||||||||||
loyaltyBalance | Loyalty balance of the user for the particular merchant | ||||||||||||||
pmId | A token to use for transacting with the payment method | ||||||||||||||
defaultPM | Flag indicating if the payment method is the users default payment method | JSON object |
Example:
<getLookupTransactionResponse> <return> <displayMessage>Successful</displayMessage> <lookupData> <entry> <key>CREDITCARD</key> <value> <item>{"information":"Visa","nameOnCard":"Chris Robb","description":"VISA Hello 0459","verified":"false","pmId":"DxcyAUk9MEE8REp0SWF8XG9JEXpBFnoVVndRZXxRYElc","defaultPM":"false"}</item> </value> </entry> <entry> <key>WALLET</key> <value> <item>{"cardBalance":"0.0","cashBalance":"0.0","loyaltyBalance":"0.0","pmId":"GwQ7CUU9XxFiEEp0VmF6UWJVEnxDFn0YSjk\u003d","defaultPM":"false"}</item> </value> </entry> </lookupData> <resultCode>00</resultCode> <resultMessage>Successful</resultMessage> </return> </getLookupTransactionResponse> |
---|