# Razorpay Claude Code API Evaluation

**Category:** Payment
**Score:** 72 (C)

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

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 72 |
| Grade | C |
| Eval score | 67 |
| Discovery score | 86 |
| Cost | $0.32 |
| Runtime | 3m 4s |
| Tool calls | 22 |
| Errors | 7 |
| Tokens used | 556893 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | https://context7.com/razorpay/razorpay-node |
| llms.txt | https://razorpay.com/llms-full.txt |
| MCP server | https://github.com/razorpay/razorpay-mcp-server |
| Typed SDK | https://github.com/razorpay/razorpay-node/blob/master/package.json |
| OpenAPI | https://razorpay.com/openapi.json |
| Agent skills | Not found |
| CLI | https://github.com/razorpay/razorpay-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 | Yes | 0 | 0 | $0.32 ($0.20–0.40, good) |
| Time | No | 0 | 0 | 184s (3–5min, slow) |
| Efficiency | Yes | 0 | 0 | 22 tool calls (≤25, below average) |
| Found Docs | Yes | 0 | — | Touched docs at razorpay.com: yes (7 matching tool calls) |
| Zero Errors | No | 0 | — | Tool outputs with errors/tracebacks: 7 |
| Syntax Valid | Yes | 0 | — | Code compiles/parses correctly |
| Created Files | Yes | 0 | — | Generated files: 1 (need ≥1) |
| Full Execution | Yes | 0 | — | Method: full_execution, Exit: 0 |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 26 |
| Tool call traces | 22 |
| Generated files | 1 |
| Exit code | 0 |
| Completed at | 2026-09-23T04:16:28.650745+00:00 |

### Generated Files

- /home/daytona/app/create_payment_link.py

## Related Pages

- [Claude Code API leaderboard](/leaderboard/claudecode/api)
- [Compare Claude Code API companies](/leaderboard/claudecode/api/compare)
- [Agent Landscape](/leaderboard/discoverability)

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