# Razorpay Codex API Evaluation

**Category:** Payment
**Score:** 75 (B)

This is the agent-readable Devtool Arena evaluation page for Razorpay on Codex API.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 75 |
| Grade | B |
| Eval score | 71 |
| Discovery score | 86 |
| Cost | $0.45 |
| Runtime | 1m 41s |
| Tool calls | 36 |
| Errors | 1 |
| Tokens used | 489518 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | https://razorpay.com/llms.txt |
| MCP server | https://github.com/razorpay/razorpay-mcp-server |
| Typed SDK | https://cdn.jsdelivr.net/npm/razorpay/package.json |
| OpenAPI | https://razorpay.com/openapi.json |
| Agent skills | https://razorpay.com/docs |
| CLI | https://razorpay.com/docs/cli |

## Evaluation Prompt

````text

# Task
Using https://razorpay.com/docs, complete the following task:

Using Razorpay, build me a payment link for a $29/month "Pro Plan" subscription and print the URL

The script should:
1. Create a product/price if needed
2. Create a **payment link** (NOT a checkout session — payment links don't expire)
3. Print the payment link URL to stdout

Important: Use payment links, not checkout sessions. Checkout sessions expire after 24 hours, but payment links are permanent and reusable. 

## Execution
After creating the script, run it to verify it works:
```bash
cd /home/daytona/app && python <your_script>.py
```

The script should print output to stdout. If there are errors, debug and fix them until it runs successfully.

````

## Grader Results

| Check | Passed | Weight | Score | Details |
|-------|--------|--------|-------|---------|
| Cost | No | 0 | 0 | $0.45 ($0.40–0.70, expensive) |
| Time | Yes | 0 | 1 | 101s (1–2min, great) |
| Efficiency | No | 0 | 0 | 36 tool calls (>25, inefficient) |
| Found Docs | Yes | 0 | — | Touched docs at razorpay.com: yes (22 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 1 |
| Syntax Valid | Yes | 0 | — | Code compiles/parses correctly |
| Created Files | Yes | 0 | — | Generated files: 2 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 39 |
| Tool call traces | 36 |
| Generated files | 2 |
| Exit code | 0 |
| Completed at | 2026-09-26T17:57:35.342811+00:00 |

### Generated Files

- /home/daytona/app/requirements.txt
- /home/daytona/app/create_payment_link.py

## Related Pages

- [Codex API leaderboard](/leaderboard/codex/api)
- [Compare Codex API companies](/leaderboard/codex/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

Canonical URL: https://devtoolarena.com/codex/api/razorpay
