Quick Start
Get from zero to a tokenized card and a proxied request in a few steps.Step 1: Get your API key and pub key
X-API-Key: Create an account at Ozura Vault. Your first project is a test project by default — create an application inside it to get your API key. To create a production project, use the project dropdown in the top-left → Create new project → enable the Production switch. X-Pub-Key: Required only for production vault API keys. If you’re using a test vault API key (test project), you can omitX-Pub-Key entirely. For a production pub key tied to your domain, contact ammar@ozura.com.
Store your API key securely (e.g. in an environment variable) and never expose it in frontend code.
Vault base URL —
https://api.ozuravault.com for both sandbox and production; the environment is determined by your vault key (test vs production project). Note: vault.ozura.com is the Vault web app, not the API.Step 2: Tokenize a card
From your backend, callPOST /tokenize with the card data. For test vault API keys, only X-API-Key is required. For production vault API keys, also include X-Pub-Key:
See Sandbox for how to create a Test project at ozuravault.com and grab a test vault key.
token and, because you sent CVV, a cvc_session_id. Store both; you’ll need them for the next step. Full request/response details: API Reference → POST /tokenize.
Step 3: Process a payment (proxy)
Send the token (and CVC session if you have one) to your payment processor via the proxy so your server never sees raw card data:${cardNumber}, ${expirationMonth}, ${expirationYear}, and ${cvv} with real values and forwards the request. Full reference: API Reference → POST /proxy/transaction.
Step 4: Check audit logs (optional)
In the dashboard or via the audit-logs API you can confirm the tokenization and proxy calls. See Audit logs.What’s next?
- Card Payments — API, Elements, or Checkout for cards.
- Bank Payments — API, Elements, or Checkout for bank accounts.
- Proxy — How the proxy works and when to use it.
- Error handling — How to handle errors and when to retry.
Test cards
Use these in sandbox:| Brand | Number | CVC | Expiry |
|---|---|---|---|
| Visa | 4111111111111111 | Any 3 | Any future |
| Mastercard | 5555555555554444 | Any 3 | Any future |
| Amex | 378282246310005 | Any 4 | Any future |