Getting Started with the API
Base URLs
| Environment | API URL | Dashboard URL |
|---|---|---|
| Sandbox | https://api.test.switch.vaultera.co | https://app.test.switch.vaultera.co |
| Production | https://api.switch.vaultera.co | https://app.switch.vaultera.co |
Authentication
All API requests require authentication using your API keys. See the API Key guide for details on creating and managing your keys. Your API key should be included in the request header as:Your First Payment
Ready to make your first payment? Follow these steps:- Create a Payment - Initiate a new payment
- Confirm a Payment - Confirm the payment after customer authentication
- Capture a Payment - Capture authorized funds
- Cancel a Payment - Cancel before capture if needed
API Endpoints
Browse the complete API reference using the sidebar. All endpoints are organized by resource type:- Payments - Create, confirm, capture, and manage payments
- Payment Methods - Handle saved payment methods
- Customers - Manage customer information
- Refunds - Process full and partial refunds
- Disputes - Handle payment disputes and chargebacks
- Merchant Account - Configure merchant accounts
- Routing - Configure payment routing rules
- Webhooks & Events - Receive real-time updates
- And more…
Response Format
All API responses follow a consistent JSON structure:- Success responses include the requested resource data
- Error responses include detailed error codes and messages
- All timestamps are in ISO 8601 format
Example Response
Rate Limits
API requests are subject to rate limits to ensure fair usage and system stability. See the Rate Limits guide for details.Need Help?
- Check the Error Codes reference
- Review the Go Live Checklist
- Contact Support