Skip to main content

BlindPay Python SDK

chat on Discord twitter Version

The official Python SDK for BlindPay - Stablecoin API for global payments.

Installation

pip install blindpay

Requirements

  • Python 3.12 or higher

Error Handling

All API methods return a response dictionary with either data or error:

    blindpay = BlindPay(
        api_key="your_api_key_here",
        instance_id="your_instance_id_here"
    )

    response = await blindpay.customers.get("customer-id")

    if response['error']:
        print(f"Error: {response['error']['message']}")
        return

    customer = response['data']
    print(f"Customer: {customer}")

Types

The SDK includes comprehensive type definitions for all API resources and parameters. These can be imported from the main package:

from blindpay import (
    AccountClass,
    BankAccountType,
    Country,
    Currency,
    CurrencyType,
    Network,
    Rail,
    StablecoinToken,
    TransactionDocumentType,
    TransactionStatus,
    PaginationParams,
    PaginationMetadata,
    # ... and more
)

Development

This SDK uses:

  • uv for package management
  • httpx for async HTTP requests
  • pydantic for data validation
  • typing_extensions for typing

License

MIT

Support

For support, please contact alves@blindpay.com or visit blindpay

Metadata

Release files for blindpay 3.4.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 blindpay 3.4.0
File Size Uploaded Provenance Actions
blindpay-3.4.0.tar.gz 26.6 kB Without provenance Details for blindpay-3.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 70.0 kB

Release files / blindpay-3.4.0.tar.gz

Download URL blindpay-3.4.0.tar.gz
Size 26.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b05a413ef37eccc8cfb363f933c672bae6c330a753854d394875f52170ebafc2
BLAKE2b-256 checksum
How to use checksums
be59490dbd17170126fd08cb1fab5a76cfb870b66222faf0ce1c5198bf995475
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / blindpay-3.4.0-py3-none-any.whl

Download URL blindpay-3.4.0-py3-none-any.whl
Size 43.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb0930388887e0fb68e329f30d74f7c4b8d67eeb9e2551c723f5a112506a2b54
BLAKE2b-256 checksum
How to use checksums
b8a17449fcc750f0c2b224b5b548e11ff4e522fcc936eabed29714ad1b79f92f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for blindpay 3.4.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.

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