Ensure your Loon integration works correctly by simulating Account Updater responses in the Loon sandbox.
Loon and Real-Time Loon
You can use the following test values and responses in the Loon Sandbox for both Loon and Real-Time Loon.
Step 1: Request Access to Loon
Note
The Loon sandbox is not available for self-signup at this time.
If you’re interested in Loon, contact us to request a demo. The Pagos Accounts team will email you with an invitation to our Loon Sandbox environment. Follow the link in the invitation to confirm your email address, create a Sandbox password, and complete your account setup.
Step 2: Generate Your Loon Sandbox API Keys
To generate your API keys:
- Log into your Sandbox.
- Click Developers at the bottom of the left navigation.
- Click Create API Key.
- Save the Client Key and Private Key in your secrets for future reference.
Important
This is the only time you can view this Private Key!
These API Keys are universal across the sandbox and will be used for testing both Toucan and Loon.
Step 3: Test Loon
You're ready to begin testing the full capabilities of Loon! Follow the instructions in our Loon Overview guide to perform the following actions in the Sandbox using our Sandbox testing values:
- Authenticate to confirm your access to the Loon service
- Set up webhooks to receive notifications when important events occur
- Register encryption keys with Loon
- Prepare your data to be transferred securely to Loon
- Submit Card Update Inquiries via the API (sending files via SFTP is not currently possible with the Loon Sandbox)
- Check the status of your inquiry jobs
- Receive updated card details
For a detailed client sample, check out our Loon JS example in github.
Keep in Mind:
- The Loon Sandbox 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
Loon Test Values
Visa
Visa Test Card Details | Response Code Description | Visa Updated Card Details (If Applicable) | ||
---|---|---|---|---|
| LAE | Change in account number or change in account number and expiration date |
| |
| LAE | Change in account number or change in account number and expiration date |
| |
| LCA | Closed account | ||
| LED | Change in expiration date |
| |
| LCC | Contact cardholder | ||
| LNB | Non-participating BIN | ||
| LNM | Participating BIN - No match | ||
| LNC | No change in account details | ||
| LCO | Card holder opt-out | ||
| LE02 | Account number invalid | ||
| LE03 | Account number format invalid | ||
| LE04 | Expiration date invalid | ||
| LE05 | Merchant not registerd |
Mastercard
MasterCard Test Card Details | Response Code Description | Mastercard Updated Card Details (If Applicable) | ||
---|---|---|---|---|
| LAE | Change in account number or change in account number and expiration date |
| |
| LAE | Change in account number or change in account number and expiration date |
| |
| LCA | Closed account | ||
| LED | Change in expiration date |
| |
| LNB | Non-participating BIN | ||
| LNM | Participating BIN - No match | ||
| LNC | No change in account details | ||
| LNC | No change in account details | ||
| LE03 | Account number format invalid | ||
| LE04 | Expiration date invalid | ||
| LE05 | Merchant not registered | ||
| LE06 | Sub-merchant not registered |
Discover
Discover Test Card Details | Response Code Description | Discover Updated Card Details (If Applicable) | ||
---|---|---|---|---|
| LAE | Change in account number or change in account number and expiration date |
| |
| LAE | Change in account number or change in account number and expiration date |
| |
| LCA | Closed account | ||
| LED | Change in expiration date |
| |
| LCC | Contact cardholder | ||
| LBC | Brand conversion | ||
| LCP | Corrected previous update | ||
| LE01 | Undefined error | ||
| LE02 | Account number invalid | ||
| LE04 | Expiration date invalid |
American Express
Amex Test Card Details | Response Code Description | Amex Updated Card Details (If Applicable) | ||
---|---|---|---|---|
| LAE | Change in account number or change in account number and expiration date |
| |
| LAE | Change in account number or change in account number and expiration date |
| |
| LCA | Closed account | ||
| LED | Change in expiration date |
| |
| LCC | Contact cardholder for updated Account Information | ||
| LE02 | Account number invalid | ||
| LE03 | Account number format invalid | ||
| LE04 | Expiration date invalid | ||
| LE05 | Merchant not registered |
All Other Card Values
For all other card numbers sent in an inquiry, the response will be:
LNR - No Card Brand Response