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-2.2.0.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

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

blindpay-2.2.0-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blindpay-2.2.0.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","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-2.2.0.tar.gz
Algorithm Hash digest
SHA256 38dad871b6d4fa1eed0735aca9ae8ba9b7a9619b7df157cd280b625ceea2eb5d
MD5 fa06a3bd12776877aa2ca26495c12904
BLAKE2b-256 ec86ef9a69e7c2d539c964d5187e3b7dbc0e75bf56d50b1be769ad5a3458062c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blindpay-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 41.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","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-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93038a3fcf6a4abfa4d9dfb17cf8b7a74087a596f946cb2bfc0fba47b89fde05
MD5 038af04528417fd03b947d490941f414
BLAKE2b-256 b4d8d26969df83e51a7a5b66d78b3f9f32dc16e1f0110059d53b3bc074f54f71

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