Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.revtain.com/llms.txt

Use this file to discover all available pages before exploring further.

Revtain is a payment recovery engine. When a charge fails on your gateway, Revtain takes the same payment, intelligently routes it across a cascade of acquirers, and captures the revenue your gateway couldn’t. Your checkout doesn’t change. Your customers don’t see anything different. You receive a webhook when the payment is recovered. These docs cover everything you need to integrate Revtain — whether you’re using a supported billing platform (no code) or wiring it up to your own.

Get Started

Zero-Code Connectors

Using Chargebee, Recurly, Stripe Billing, or Braintree? Paste one webhook URL. No code. 5 minutes.

API Integration

Custom billing system or want full control? Recover your first payment in 60 seconds.

Explore the Docs

Quickstart

Your first recovery call in under a minute.

Authentication

API keys, webhook secrets, and rate limits.

Webhooks

Verify signatures and handle every event type.

API Reference

Every endpoint, request, response, and error.

Decline Codes

How Revtain handles each category of decline.

Troubleshooting

Common errors and how to fix them.

Base URL

https://api.revtain.com
Same URL for testing and production. Test mode is controlled by your gateway type — onboard with a test gateway (e.g., Stripe sk_test_...) for sandbox, live key for production.