GetCustomer

Description: Use this method to retrieve a Customer record from the Customer Vault Database.

Resource Url: https://webservice.paymentxp.com/wh/WebHost.aspx

Method: POST

Content-Type: application/x-www-form-urlencoded

Notes

  • Parameters in bold are required in the request for example, BillingNameFirst

Request

Parameter Is Required Data Type Max Length Description
CustomerID Yes String 50 Your customer's ID.
MerchantID Yes Number 9 The identification that is assigned to the merchant.
MerchantKey Yes String 36 A unique identification that is assigned to the merchant id.
TransactionType Yes String 14 GetCustomer

Response

Field Name Description
PostedDate The date and time the transaction was posted.
StatusID The result of the transaction. Status 1 indicates an approved transaction.
Message The message from the processor.
Status Status description
CardNumber Last 4 digits of the card number
CustomerName The name of the account holder as it appears on the account
BillingNameFirst The first name of the account holder.
BillingNameLast The last name of the account holder.
Address The billing address of the cardholder. Used to check for AVS identification.
City The billing city of the cardholder.
State The billing state of the cardholder.
Zip The billing zip code of the cardholder. Used to check forAVS identification.
Country The billing country of the cardholder.
Phone The phone number of the cardholder.
Fax The fax number of the cardholder.
Email The e-mail address of the cardholder.
BankName Your customer's bank name.
AccountName Your customer's name on account (First name + Last name).
RoutingNumber Routing number or ABA.
AccountNumber The last 4 of the Account Number or DDA.
CardExpirationDate Your customer's card expiration date.
BankAccountType Your customer's Bank Account Type: CK = Checking Account SA = Savings Account