Card Validation
Payment card validation includes verification of the card number length, BIN range, and LUHN algorithm.
Contact your Travelport representative for endpoints for the Pay APIs.
In this topic:
Card Validation Request
The following table details all required and optional or conditional objects.
Element | Required | Optional /Conditional | Example/Notes |
---|---|---|---|
PaymentCardAuthorizationRequest |
Top level object for request. |
||
PaymentCardAuthorizationQueryRequest |
Top level object for request. |
||
PaymentCardRequest
|
|||
expireDate |
MMYY If not sent, error 254 |
||
agentSignOn |
ABC123BZ |
||
localDateTime |
YYYY-MM-DDTHH:MM:SS If not sent, error 258 |
||
paymentCardCode |
CA, VI, DS, AX, DC, TP, JC If not sent, error 268 |
||
primaryAccountNumber |
4444333322221111 If not sent, error 260 Minimum 16 characters, maximum 19 |
||
AgencyPCCDetail |
|||
pseudoCityCode |
7BT |
||
agencyCode |
9999999 |
||
codeAffinity |
1P/1V/1G |
Card Validation Response
The response returns the objects detailed below.
Object | Description |
---|---|
PaymentCardAuthorizationResponse |
Top level object for response. Key value pairs:
|
PaymentCardAuthorization |
Provides confirmation details in the following:
|