Skip to main content

OrvexPay Python SDK

Official Python SDK for the OrvexPay Payment Gateway.

Installation

Install via pip:

pip install orvexpay

Usage

Synchronous Usage

from orvexpay import OrvexClient

client = OrvexClient(api_key="your-api-key")

# Create an invoice
invoice = client.create_invoice({
    "priceAmount": "100.00",
    "priceCurrency": "USD",
    "payCurrency": "USDT",
    "orderId": "ORDER-12345",
    "successUrl": "https://example.com/success",
    "cancelUrl": "https://example.com/cancel"
})

print(f"Invoice ID: {invoice['id']}")
print(f"Pay URL: {invoice['payUrl']}")

Asynchronous Usage

import asyncio
from orvexpay import OrvexClient

async def main():
    client = OrvexClient(api_key="your-api-key")
    
    invoice = await client.create_invoice_async({
        "priceAmount": "100.00",
        "priceCurrency": "USD",
        "payCurrency": "USDT"
    })
    
    print(f"Async Invoice ID: {invoice['id']}")

asyncio.run(main())

Features

  • Sync & Async: Built-in support for both synchronous and asynchronous workflows using httpx.
  • Type Safety: Fully type-hinted for better IDE support.
  • Easy Integration: Simple DTO pattern for API requests.
  • Error Handling: Detailed exceptions for API and network errors.

Metadata

Release files for orvexpay 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orvexpay 1.0.0
File Size Uploaded Provenance
orvexpay-1.0.0.tar.gz 3.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for orvexpay 1.0.0
File Interpreter ABI Platform
orvexpay-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / orvexpay-1.0.0.tar.gz

Download URL orvexpay-1.0.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
096b168b6e442f454931540f1be1c5192275bf48e0d8ab029baa6898e96bb0a7
BLAKE2b-256 checksum
How to use checksums
77bca9197753d4d1e55f3d9dab70136382d5dd279880bafca9965e1fef92744d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / orvexpay-1.0.0-py3-none-any.whl

Download URL orvexpay-1.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e4b0864f85349dfa02d181711f6d9ef9e21850a2043dcafbbaa42a81445ff5c
BLAKE2b-256 checksum
How to use checksums
83074298304c38327868897d7eb88956d643a64e3123396943e2fafd57983bf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for orvexpay 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page