Skip to content

Payman API Reference

Welcome to the Payman API documentation.
This section provides a unified interface for interacting with multiple Iranian payment gateways, including:


️ Usage Overview

Payman provides a consistent and developer-friendly API for initiating, verifying, and reversing payments — regardless of the gateway provider. All gateways follow the same public interface and support both synchronous and asynchronous usage out-of-the-box.

Example

from payman import ZarinPal

gateway = ZarinPal(merchant_id="YOUR-ID")
response = await gateway.payment(...)