Test Mode
Simulate payments and any functionality in a test environment.
Activating Test Mode
To use the test environment, simply click on the Test Mode button on the top navbar of the dashboard.

All functionality on Paylinker will now be in test mode. You can create products, checkout sessions, and receive payments without any real money being involved.
Webhooks and API keys that you will see on the Developer tab will also be exclusively for the test environment.
Using Test APIs
You can test and use any workflows for the test environment by using your Test API Keys (starting with sk_test_).
bash
# Use the standard endpoint with test keys
https://api.paylinker.com/v1When you make requests with a test key, Paylinker acts in test mode. No real charges are created.
Testing Payments
Use the test card 4242 4242 4242 4242 with any future expiration date and any CVV.
| Card Type | Card Number | Outcome |
|---|---|---|
| Visa | 4242 4242 4242 4242 | Success |
| Visa | 4000 0000 0000 0002 | Declined |
| Visa | 4000 0000 0000 0019 | Insufficient Funds |