Ensure your Batch Account Updater integration works correctly by simulating Account Updater responses in our test environment.
You can use the following test values and responses in Test Mode for both Batch and Real-Time Account Updater.

Step 1: Create a Pagos Account or Sign In

If you’re interested in Batch Account Updater, you can try it out in Test Mode. Sign up for a Pagos account or log into your existing account, then click the environment toggle in the top-right corner; a yellow bar will appear across the top of the Pagos Service Panel to confirm you’re in Test Mode.

Step 2: Generate Your Test Mode API Keys

In Test Mode, generate an API key pair for the Batch Account Updater API.
These API keys are universal across Test Mode and will be used for testing both Account Updater and Network Tokenization. If you have already created an API key in Test Mode, you don’t need to create a new one.
1

Click your settings icon in the top-right corner.
2

Under Developers, click API Keys.
3

Click the Action API tab.
4

Under the Action API Keys header, click Create API Key to add a new key pair to your account. A side panel will open with the new Client and Private key values.
5

Copy your new API key pair and store it somewhere secure. You can only view the Private key one time.
6

Click I’ve Copied My Keys to confirm and exit the side panel.

Step 3: Test Batch Account Updater

Follow the instructions in our Batch Account Updater API Overview guide to perform the following actions in Test Mode using our test values:
  1. Authenticate to confirm your access to the Batch Account Updater service
  2. Set up webhooks to receive notifications when important events occur
  3. Register encryption keys
  4. Prepare your data to be transferred securely to Pagos
  5. Submit Card Update Inquiries via the API
  6. Check the status of your inquiry jobs
  7. Receive updated card details
For a detailed client sample, check out our JS example in github.
Keep in Mind:
  • Test Mode is a stateless system that responds with simulated responses and processes in a synchronous manner
  • When you submit test values, you’ll receive the expected response and corresponding webhook immediately

Test Values

Visa

Visa Test Card DetailsResponse CodeError CodeResponse Code DescriptionUpdated Card Details (If Applicable)
  • PAN: 4111111111111111
  • Exp. Month: 12
  • Exp. Year: 2023
LAEChange in account number or change in account number and expiration date
  • PAN: 4166676667666746
  • PAN: 4012888888881881
  • Exp. Month: 12
  • Exp. Year: 2023
LAEChange in account number or change in account number and expiration date
  • PAN: 4212345678910006
  • Exp. Month: 12
  • Exp. Year: 2026
  • PAN: 4330251207506660
  • Exp. Month: 12
  • Exp. Year: 2023
LCAClosed account
  • PAN: 4539097887163333
  • Exp. Month: 12
  • Exp. Year: 2023
LEDChange in expiration date
  • Exp. Month: 12
  • Exp. Year: 2026
  • PAN: 4929980395567582
  • Exp. Month: 12
  • Exp. Year: 2023
LCCContact cardholder
  • PAN: 4929544240318920
  • Exp. Month: 12
  • Exp. Year: 2023
LNBNon-participating BIN
  • PAN: 4916725297925395
  • Exp. Month: 12
  • Exp. Year: 2023
LNMParticipating BIN - No match
  • PAN: 4711358892785746
  • Exp. Month: 12
  • Exp. Year: 2023
LNCNo change in account details
  • PAN: 4035501000000008
  • Exp. Month: 12
  • Exp. Year: 2023
LCOCard holder opt-out
  • PAN: 4035501428146300
  • Exp. Month: 12
  • Exp. Year: 2023
LE02Account number invalid
  • PAN: 4917610000000000
  • Exp. Month: 12
  • Exp. Year: 2023
LE03Account number format invalid
  • PAN: 4111111145551142
  • Exp. Month: 12
  • Exp. Year: 2023
LE04Expiration date invalid
  • PAN: 4111112014267661
  • Exp. Month: 12
  • Exp. Year: 2023
LE05Merchant not registered

Mastercard

Mastercard Test Card DetailsResponse CodeError CodeResponse Code DescriptionMastercard Updated Card Details (If Applicable)
  • PAN: 5555555555554444
  • Exp. Month: 12
  • Exp. Year: 2023
LAEChange in account number or change in account number and expiration date
  • PAN: 5454545454545454
  • PAN: 5105105105105100
  • Exp. Month: 12
  • Exp. Year: 2023
LAEChange in account number or change in account number and expiration date
  • PAN: 5233580618829955
  • Exp. Month: 12
  • Exp. Year: 2026
  • PAN: 5461310156953048
  • Exp. Month: 12
  • Exp. Year: 2023
LCAClosed account
  • PAN: 5325191087030619
  • Exp. Month: 12
  • Exp. Year: 2023
LEDChange in expiration date
  • Exp. Month: 12
  • Exp. Year: 2026
  • PAN: 5580422612666704
  • Exp. Month: 12
  • Exp. Year: 2023
LNBNon-participating BIN
  • PAN: 5157204564548129
  • Exp. Month: 12
  • Exp. Year: 2023
LNMParticipating BIN - No match
  • PAN: 5336475987107024
  • Exp. Month: 12
  • Exp. Year: 2023
LNCNo change in account details
  • PAN: 5412000000001009
  • Exp. Month: 12
  • Exp. Year: 2023
LNCNo change in account details
  • PAN: 5555341244441115
  • Exp. Month: 12
  • Exp. Year: 2023
LE03Account number format invalid
  • PAN: 5577000055770004
  • Exp. Month: 12
  • Exp. Year: 2023
LE04Expiration date invalid
  • PAN: 5555444433331111
  • Exp. Month: 12
  • Exp. Year: 2023
LE05Merchant not registered
  • PAN: 5100060000000002
  • Exp. Month: 12
  • Exp. Year: 2023
LE06Sub-merchant not registered

Discover

Discover Test Card DetailsResponse CodeError CodeResponse Code DescriptionDiscover Updated Card Details (If Applicable)
  • PAN: 6011111111111117
  • Exp. Month: 12
  • Exp. Year: 2023
LAEChange in account number or change in account number and expiration date
  • PAN: 6011000990139424
  • PAN: 6011601160116611
  • Exp. Month: 12
  • Exp. Year: 2023
LAEChange in account number or change in account number and expiration date
  • PAN: 6445644564456445
  • Exp Month: 12
  • Exp Year: 2026
  • PAN: 6011168802268945
  • Exp. Month: 12
  • Exp. Year: 2023
LCAClosed account
  • PAN: 6011690151507086
  • Exp. Month: 12
  • Exp. Year: 2023
LEDChange in expiration date
  • Exp. Month: 12
  • Exp. Year: 2026
  • PAN: 6011444770992901
  • Exp. Month: 12
  • Exp. Year: 2023
LCCContact cardholder
  • PAN: 6011760519541711
  • Exp. Month: 12
  • Exp. Year: 2023
LBCBrand conversion
  • PAN: 6011490740263725
  • Exp. Month: 12
  • Exp. Year: 2023
LCPCorrected previous update
  • PAN: 6011178332216017
  • Exp. Month: 12
  • Exp. Year: 2023
LE01Undefined error
  • PAN: 6011829379808385
  • Exp. Month: 12
  • Exp. Year: 2023
LE02Account number invalid
  • PAN: 6011648103759866
  • Exp. Month: 12
  • Exp. Year: 2023
LE04Expiration date invalid

American Express

Amex Test Card DetailsResponse CodeError CodeResponse Code DescriptionAmex Updated Card Details (If Applicable)
  • PAN: 378282246310005
  • Exp. Month: 12
  • Exp. Year: 2023
LAEChange in account number or change in account number and expiration date
  • PAN: 375155165213132
  • PAN: 371449635398431
  • Exp. Month: 12
  • Exp. Year: 2023
LAEChange in account number or change in account number and expiration date
  • PAN: 348835199015504
  • Exp Month: 12
  • Exp Year: 2026
  • PAN: 370488998077498
  • Exp. Month: 12
  • Exp. Year: 2023
LCAClosed account
  • PAN: 373555735376156
  • Exp. Month: 12
  • Exp. Year: 2023
LEDChange in expiration date
  • Exp. Month: 12
  • Exp. Year: 2026
  • PAN: 377752749896404
  • Exp. Month: 12
  • Exp. Year: 2023
LCCContact cardholder for updated Account Information
  • PAN: 378025849667382
  • Exp. Month: 12
  • Exp. Year: 2023
LE02Account number invalid
  • PAN: 348322853530243
  • Exp. Month: 12
  • Exp. Year: 2023
LE03Account number format invalid
  • PAN: 378734493671000
  • Exp. Month: 12
  • Exp. Year: 2023
LE04Expiration date invalid
  • PAN: 370000000000002
  • Exp. Month: 12
  • Exp. Year: 2023
LE05Merchant not registered