Skip to main content

Official Python SDK for the Blindpay API — Global payments infrastructure

Project description

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.receivers.get("receiver-id")

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

    receiver = response['data']
    print(f"Receiver: {receiver}")

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blindpay-1.4.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blindpay-1.4.0-py3-none-any.whl (39.4 kB view details)

Uploaded Python 3

File details

Details for the file blindpay-1.4.0.tar.gz.

File metadata

  • Download URL: blindpay-1.4.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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}

File hashes

Hashes for blindpay-1.4.0.tar.gz
Algorithm Hash digest
SHA256 996b0fdff9c4e3c71a4bf30c04a0be421d75aacce29e9aab8813480f649c62d9
MD5 bc85c0ba08d9d0ab422ed55388608ba1
BLAKE2b-256 dfa9dd01a716a88960cfb0cc0bc90ccc235b5ddf784633882fa74e561a20ff81

See more details on using hashes here.

File details

Details for the file blindpay-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: blindpay-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 39.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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}

File hashes

Hashes for blindpay-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c20d6bafbec66529193fe15943a3de146615c69f008db45b7b7a25bfdb91bf12
MD5 81fb98ef0b59e0f2f7382ce6eba150dd
BLAKE2b-256 df6f0fe65e874929e8ec122896207ad8c33f5247842e1da807a0fc06dde3b8e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page