Python SDK

PyPI version GitHub The official Python SDK for the Reevit payment orchestration platform.

Installation

Quick Start


Configuration

Environment Variables

org_id is recommended for all authenticated requests. Omitting it is still accepted for backward compatibility, but that mode is deprecated.

Payments

Create Payment Intent

Get Payment

List Payments

Refund Payment

Connections

Use client.connections.list() when you only need a single page.

Webhook Verification

Reevit sends webhooks to notify your application of payment events. Always verify signatures.

Signature Format

  • Header: X-Reevit-Signature: sha256=<hex-signature>
  • Signature: HMAC-SHA256(request_body, signing_secret)

Flask Handler

FastAPI Handler

Django Handler


Environment Variables


Supported Providers