Card Inquiry

Here you can see details of an external card. If cardId is not specified the entire list of external cards is returned

Field NameLenTypeReqVerComments
methodN/AAlp-NumYes1.1cardInquiry
fromEmailN/AAlp-NumYes1.1The email associated with the inquired account
cardIdN/ANum--1.1The ID of the External Card. If no card ID is provided the full list of external cards is returned (optional)
keyN/AAlp-NumYes1.1MD5(sharedSecret + cardId)

This request is responded by a message with the following content:

Field NameLenTypeMdtVerComments
ResponseCodeN/AAlp-NumYes1.1The response code; 00 = Success;
ResponseDescriptionN/AAlp-NumYes1.1Human readable response
FeeN/ARealYes1.1Fee for the current transaction
Cards/ Card/ CardIdN/ANumYes1.1The ID of the External Card. If no card ID is provided the full list of external cards is returned (optional) The card ID
Cards/ Card/ CardNumber4NumYes1.1The last 4 numbers of the card
Cards/ Card/ CardTypeN/AAlpYes1.1The card network type
Cards/ Card/ CardStatusId1NumYes1.11 = primary
2 = secondary
Cards/ Card/ Confirmed1NumYes1.10 = not confirmed
1 = confirmed

Request Sample:

https://secure.paxum.com/payment/api/paymentAPI.php
POST
method=cardInquiry&fromEmail=payee%40tdomain.com&cardId=&key=ecb2111f1b36b39e31f30115e00d13f4f

Response Sample

<?xml version="1.0"?>
<Response>
    <Environment>PRODUCTION</Environment>
    <Method>cardInquiry</Method>
    <ResponseCode>00</ResponseCode>
    <ResponseDescription>Approved or Completed Successfully</ResponseDescription >
    <Fee>0.00</Fee>
    <CreditCards>
    <CreditCard>
    <CreditCardId>123456</CreditCardId>
    <CreditCardNumber>1234</CreditCardNumber>
    <CreditCardType>supported-card-type</CreditCardType>
    <CreditCardStatusId>1</CreditCardStatusId>
    <Confirmation>0</Confirmation>
    </CreditCard>
    </CreditCards>
</Response>

Working Sample(s):

cardInquiry.php