Vinr developer documentation
Accept card and
wallet payments online.
Take payments through hosted checkout, embedded Elements or the server-side Payments API. 3D Secure authentication runs as part of the payment.
create-session.sh
curl -X POST https://edge.vinr.com/checkout/session \
-H "X-Api-Key: api_…" \
-H "Content-Type: application/json" \
-d '{
"amount": 4999,
"currency": "EUR",
"successUrl": "https://shop.example.com/checkout/success",
"cancelUrl": "https://shop.example.com/checkout/cancel"
}'
session.status: "created"
Documentation
Guides and reference for taking card and wallet payments with Vinr.
Try it out
- Accept a payment with hosted checkout
- Embed card fields with Elements
- Handle a 3DS challenge
- Capture an authorization later
- Save a card for later payments
- Look up a response code
create-session.sh
curl -X POST https://edge.vinr.com/checkout/session \
-H "X-Api-Key: api_…" \
-H "Content-Type: application/json" \
-d '{
"amount": 4999,
"currency": "EUR",
"successUrl": "https://shop.example.com/checkout/success",
"cancelUrl": "https://shop.example.com/checkout/cancel"
}'
session.status: "created"
Browse by product
Get started
How Vinr payments work, choosing an integration, API keys and testing
Online payments
Hosted checkout, Elements, the Direct API, 3D Secure and payment methods
In-person payments
Terminals, locations and taking payments from your POS
Payment scenarios
Capture later, adjust an authorization, save cards and charge them later
After the payment
Find a payment, cancel and reverse, refunds
Handle results
Response codes, declines, errors and retries
Go live
The go-live checklist and security essentials
Changelog
Changes to the documentation and APIs
API reference
The Vinr APIs and the Elements JS SDK