Skip to main content
Python provides no official OwnPay Python SDK yet. This guide shows you how to integrate using the popular requests library with a complete, reusable client class.

Installation

OwnPayClient class

Copy this class into your project. It handles authentication, error handling, and pagination:

Creating a payment

Verifying payment status

Listing transactions with pagination

Webhook signature verification

Use this function to verify incoming webhooks. See the canonical Webhooks page for the full reference.
Usage with Flask:

Error handling

Optional Pydantic models

If you use Pydantic for type safety, define response models:
Last modified on August 25, 2026