Talkr AI
API ReferenceBilling

Verify a Payment

Client-side confirmation after a Razorpay Checkout payment succeeds

Org admin only. Not the authoritative record of payment — Razorpay's own server-to-server webhook independently reaches the same state — but confirming here lets your UI reflect the new balance immediately rather than waiting on the webhook.

POST
/api/v1/billing/verify-payment

Header Parameters

authorization?string|null
X-API-Key?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/billing/verify-payment" \  -H "Content-Type: application/json" \  -d '{    "razorpay_order_id": "string",    "razorpay_payment_id": "string",    "razorpay_signature": "string"  }'
{  "status": "string"}