Quick Start
Make your first payment with VINR in 5 minutes.
Overview
This guide walks you through creating your first payment using the VINR API. By the end, you'll have a working integration in your test environment.
Get Your API Keys
Log in to your VINR Dashboard and navigate to Settings → API Keys. You'll find:
- Public Key — Used client-side for checkout initialization
- Secret Key — Used server-side for API calls (never expose this)
Install the SDK
Your project structure should look like this:
app.ts
payments.ts
webhooks.ts
package.json
Create a Payment
Handle the Webhook
Test Your Integration
Use these test card numbers in the sandbox environment:
| Card Number | Result |
|---|---|
4242 4242 4242 4242 | Successful payment |
4000 0000 0000 0002 | Declined |
4000 0000 0000 3220 | 3D Secure authentication |
Next Steps
- Authentication — Secure your API keys
- Webhooks — Set up reliable webhook handling
- Payment Methods — Explore all supported methods