1. Sign up
Create an account at getovra.com/sign-up. You’ll land in the dashboard in sandbox mode.2. Create an API key
Go to Secrets in the dashboard and click New Key. You’ll get a test key starting withsk_test_.
Go from zero to first payment in 5 minutes.
sk_test_.
export OVRA_API_KEY="sk_test_..."
curl -X POST https://api.getovra.com/agents \
-H "Authorization: Bearer $OVRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "My First Agent"}'
{
"id": "ag_xxx",
"cardId": "ca_xxx",
"policyId": "po_xxx",
"cardPanMasked": "****4242"
}
curl -X POST https://api.getovra.com/agents/ag_xxx/fund \
-H "Authorization: Bearer $OVRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"amount": 100}'
curl -X POST https://api.getovra.com/intents \
-H "Authorization: Bearer $OVRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agentId": "ag_xxx",
"purpose": "Buy USB-C Hub",
"expectedAmountEuros": 29.99,
"expectedMerchant": "amazon.de"
}'
npm install @ovra/pay
import * as OvraPay from "@ovra/pay";
OvraPay.configure({ apiKey: "sk_test_..." });
// Your agent navigates to checkout, then:
const result = await OvraPay.checkout(page, { intentId: "in_xxx" });
console.log(result.success); // true