Credit Card Transactions

NOTE: The token will expire in 20 minutes after initialization.

Description: This method returns a Token that can be used to perform various credit card transactions through the functions below. The Token will replace the values passed in the GetToken method to be used with these functions.

Resource Url: https://webservice.paymentxp.com/wh/GetToken.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
CardNumber Yes String 76 Identifies the cardholder’s credit card number. For swiped transaction, if track 2 data exists, then use track2. Otherwise, use track 1 data.
CVV2 No String 4 Card Verification Value.
ExpirationDateMMYY Yes String 4 Identifies the cardholder’s account expiration date (format ).
MerchantID Yes Number 9 The identification that is assigned to the merchant.

Response

Field Name Description
Token A unique identifier that represents the account information.
StatusID The result of the request. Status 0 indicates an approved token request.
Message Status message for token request