Skip to main content
Validation Services

Verify a card account

In this tutorial, you will learn how to verify a card account using Validation Services API. By the end, you will know how to:

  • Submit a card-account verification request.
  • Interpret the verification result.
  • Review card, issuer, and address-verification details returned by the provider.
  • Handle common pre-validation and provider errors.

Before you begin

You will need:

  • A registered and fully onboarded Developer Account on the J.P. Morgan Payments Developer Portal.
  • An active project with credentials to make a request.
  • An onboarded client ID, program ID, and profile name for the environment you will use.
  • A valid PAN and card expiry date.

Verify a card account

Submit a POST request to /v2/validations/accounts.

Supported card brands

  • Visa
  • Mastercard
  • American express
  • Discover
  • Diners club
  • JCB (Japan Credit Bureau)

Request headers

Request headers
Header Required Description
x-client-id Yes Client identifier assigned during onboarding.
x-program-id Yes Program identifier assigned during onboarding.
x-program-id-type No Product selection type. Defaults to AVS if omitted.

Request body

The request body is an array containing a card-validation request. The following fields are required:

Request body
Field Required Description
requestId Yes Unique request identifier; maximum 72 characters.
profileName Yes CPS profile name assigned during onboarding; maximum 64 characters.
card.pan Yes Card PAN.
card.expiryDate Yes Expiry date in MMYY format.

The following fields are optional:

  • card.currency: ISO 4217 currency code.
  • entity.individual.firstName, middleName, and lastName: account-holder name. The name is omitted from the CPS call if not provided.
  • entity.individual.postalAddress.addressLine: one or two address lines, up to 60 characters each.
  • entity.individual.postalAddress.townName: city or town, up to 25 characters.
  • entity.individual.postalAddress.countrySubDvsn: state or province; use a two-character code for U.S. addresses.
  • entity.individual.postalAddress.postalCode: postal or ZIP code, 5–10 characters.
  • entity.individual.postalAddress.country: ISO 3166-1 alpha-2 country code, such as US.

Sample request:

[
  {
    "requestId": "123e4567-e89b-12d3-a456-426614174000",
    "profileName": "ctauat",
    "card": {
      "pan": "<TEST_PAN>",
      "expiryDate": "1227",
      "currency": "USD"
    },
    "entity": {
      "individual": {
        "firstName": "Jane",
        "lastName": "Example",
        "postalAddress": {
          "addressLine": [
            "123 Main Street",
            "Apartment 4B"
          ],
          "townName": "New York",
          "countrySubDvsn": "NY",
          "postalCode": "10001",
          "country": "US"
        }
      }
    }
  }
]

The response includes the original requestId and a responses array. The verification result is returned in responses.codes.verification.

Response messages and examples

A successful HTTP 200 response means the request was processed; it does not by itself mean the card account is valid. Check responses.codes.verification for the verification result. Provider processing details, when returned, appear under responses.details.providerResponse.

sample response
Verification code Message Meaning
1017 Open Valid The card account is reported as open and valid.
2017 Closed Invalid The card account is reported as closed or invalid.
3017 No Information Found No verification information was found.

The response also identifies the provider, such as CPS. When available, responses.details.providerResponse includes provider transaction information, status, response code, and message. The following examples use the requestId from your request.

Open Valid

[
  {
    "requestId": "123e4567-e89b-12d3-a456-426614174005",
    "responses": [
      {
        "codes": {
          "verification": {
            "code": 1017,
            "message": "Open Valid"
          }
        },
        "provider": "CPS",
        "details": {
          "providerResponse": {
            "transactionId": "90bb92de-3f2d-4ae9-a91d-be5fd5d851a1",
            "requestId": "123e4567-e89b-12d3-a456-426614174005",
            "transactionState": "AUTHORIZED",
            "currency": "USD",
            "responseStatus": "SUCCESS",
            "responseCode": "APPROVED",
            "responseMessage": "Transaction approved by Issuer",
            "paymentMethodType": {
              "card": {
                "cardTypeName": "VISA",
                "cardType": "VI",
                "cardTypeIndicators": {
                  "issuanceCountryCode": "USA",
                  "cardProductTypes": [
                    "COMMERCIAL",
                    "PINLESS_DEBIT"
                  ],
                  "cardProductName": "Signature Premium Debit",
                  "cardIssuerName": "JPMorgan Chase",
                  "prepaidCardCategoryCode": "NOT_PREPAID",
                  "combinationCardCode": "NOT_A_COMBOCARD",
                  "nonMoneyTransferPushFundsCrossBorderIndicator": false,
                  "nonMoneyTransferPushFundsDomesticIndicator": true,
                  "nonMoneyTransferFastFundsCrossBorderIndicator": false,
                  "nonMoneyTransferFastFundsDomesticIndicator": true,
                  "onlineGamblingFastFundsCrossBorderIndicator": false,
                  "onlineGamblingFastFundsDomesticIndicator": false,
                  "onlineGamblingPushFundsCrossBorderIndicator": false,
                  "onlineGamblingPushFundsDomesticIndicator": false,
                  "moneyTransferFastFundsCrossBorderIndicator": false,
                  "moneyTransferFastFundsDomesticIndicator": true,
                  "moneyTransferPushFundsCrossBorderIndicator": false,
                  "moneyTransferPushFundsDomesticIndicator": true
                },
                "networkResponse": {
                  "addressVerificationResult": "NOT_REQUESTED",
                  "additionalData": {
                    "merchantAdviceCode": "01",
                    "processingCode": "000000",
                    "productId": "A",
                    "responseReasonCode": "00",
                    "authorizationResponseCategory": "A"
                  },
                  "cardVerificationResult": "NOT_PROCESSED",
                  "cardVerificationResultCode": "P",
                  "networkTransactionId": "014272692166456",
                  "networkResponseCode": "00",
                  "addressVerificationResultDescription": "Address verification was not requested",
                  "emailVerificationResult": "MATCH",
                  "emailVerificationResultCode": "Y",
                  "phoneVerificationResult": "MATCH",
                  "phoneVerificationResultCode": "Y",
                  "billingVerification": {
                    "consumerNameVerificationResult": "NAME_MATCH_PERFORMED",
                    "consumerFullNameVerificationResult": "MATCH",
                    "consumerFirstNameVerificationResult": "MATCH",
                    "consumerLastNameVerificationResult": "MATCH",
                    "consumerMiddleNameVerificationResult": "NO_MATCH"
                  }
                },
                "paymentTokens": [
                  {
                    "tokenProvider": "SAFETECH",
                    "responseStatus": "ERROR",
                    "tokenServiceResponseMessage": "Merchant record not found or not enabled for Acquirer/Network Token",
                    "tokenServiceResponseCode": "BAD_REQUEST"
                  }
                ]
              }
            },
            "merchant": {
              "merchantSoftware": {
                "companyName": "JPMC",
                "productName": "ValidationServices",
                "version": "1.0"
              }
            },
            "transactionDate": "2026-08-12T16:27:32.960Z"
          }
        }
      }
    ]
  }
]

Closed Invalid

[
  {
    "requestId": "c1cbd461-f21a-4968-8f90-2f854d020135a",
    "responses": [
      {
        "codes": {
          "verification": {
            "code": 2017,
            "message": "Closed Invalid"
          }
        },
        "provider": "CPS",
        "details": {
          "providerResponse": {
            "transactionId": "c1cbd461-f21a-4968-8f90-2f854d020135",
            "requestId": "c1cbd461-f21a-4968-8f90-2f854d020135a",
            "transactionState": "DECLINED",
            "currency": "USD",
            "responseStatus": "DENIED",
            "responseCode": "LOST_STOLEN_CARD",
            "responseMessage": "The transaction was declined by the issuer due to a reported lost or stolen card",
            "paymentMethodType": {
              "card": {
                "cardTypeName": "VISA",
                "cardType": "VI",
                "maskedAccountNumber": "411234XXXXXX4113",
                "cardTypeIndicators": {
                  "issuanceCountryCode": "USA",
                  "isLevel2Eligible": false,
                  "cardProductTypes": [
                    "COMMERCIAL",
                    "PINLESS_DEBIT"
                  ],
                  "cardProductName": "Signature Premium Debit",
                  "cardIssuerName": "JPMORGAN CHASE BANK NA",
                  "prepaidCardCategoryCode": "NOT_PREPAID",
                  "combinationCardCode": "NOT_A_COMBOCARD",
                  "nonMoneyTransferPushFundsCrossBorderIndicator": false,
                  "nonMoneyTransferPushFundsDomesticIndicator": true,
                  "nonMoneyTransferFastFundsCrossBorderIndicator": false,
                  "nonMoneyTransferFastFundsDomesticIndicator": true,
                  "onlineGamblingFastFundsCrossBorderIndicator": false,
                  "onlineGamblingFastFundsDomesticIndicator": false,
                  "onlineGamblingPushFundsCrossBorderIndicator": false,
                  "onlineGamblingPushFundsDomesticIndicator": false,
                  "moneyTransferFastFundsCrossBorderIndicator": false,
                  "moneyTransferFastFundsDomesticIndicator": true,
                  "moneyTransferPushFundsCrossBorderIndicator": false,
                  "moneyTransferPushFundsDomesticIndicator": true
                },
                "networkResponse": {
                  "addressVerificationResult": "NOT_REQUESTED",
                  "additionalData": {
                    "merchantAdviceCode": "03",
                    "processingCode": "000000",
                    "productId": "A",
                    "responseReasonCode": "05"
                  },
                  "cardVerificationResult": "MATCH",
                  "cardVerificationResultCode": "M",
                  "networkTransactionId": "014270692169891",
                  "emailVerificationResult": "MATCH",
                  "emailVerificationResultCode": "Y",
                  "phoneVerificationResult": "MATCH",
                  "phoneVerificationResultCode": "Y",
                  "billingVerification": {
                    "consumerNameVerificationResult": "NAME_MATCH_PERFORMED",
                    "consumerFullNameVerificationResult": "MATCH",
                    "consumerFirstNameVerificationResult": "MATCH",
                    "consumerLastNameVerificationResult": "MATCH",
                    "consumerMiddleNameVerificationResult": "NO_MATCH"
                  }
                },
                "paymentTokens": [
                  {
                    "tokenProvider": "SAFETECH",
                    "responseStatus": "ERROR",
                    "tokenServiceResponseMessage": "Merchant record not found or not enabled for Acquirer/Network Token",
                    "tokenServiceResponseCode": "BAD_REQUEST"
                  }
                ]
              }
            },
            "merchant": {
              "merchantSoftware": {
                "companyName": "JPMC",
                "productName": "ValidationServices",
                "version": "1.0"
              }
            },
            "transactionDate": "2026-08-14T17:13:06.488Z"
          }
        }
      }
    ]
  }
]

No Information Found

[
  {
    "requestId": "123e4567-e89b-12d3-a456-426614174000",
    "responses": [
      {
        "codes": {
          "verification": {
            "code": 3017,
            "message": "No Information Found"
          }
        },
        "provider": "CPS"
      }
    ]
  }
]

Address and card details

If returned by the provider, the response may also include:

  • networkResponse.addressVerificationResult and related fields for address verification.
  • networkResponse.cardVerificationResult and related fields for card verification.
  • Card attributes such as card brand, card type, masked account number, issuance country, issuer, and product indicators.

These fields are optional. Their presence and values depend on the provider response and what was requested or processed; for example, an address result of NOT_REQUESTED does not confirm an address match.

Handle common errors

The supplied error mapping includes the following cases:

common errors
Scenario AVS code Action or result
Both card and account details are present 9005 Reject during API pre-validation.
Neither card nor account details are present 9005 Reject during API pre-validation.
Card details are invalid or incomplete 9005 Reject during API pre-validation.
CPS timeout 9003 DATA_PROVIDER_ERROR.
CPS HTTP 4xx or 5xx 9001 DATA_PROVIDER_ERROR.
CPS connection refused 9001 DATA_PROVIDER_ERROR.
Is this page helpful?