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.5.1.tar.gz (24.8 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.5.1-py3-none-any.whl (39.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blindpay-1.5.1.tar.gz
  • Upload date:
  • Size: 24.8 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.5.1.tar.gz
Algorithm Hash digest
SHA256 ef93362f15ec3c16cb67c9e3183a011220c2b7e60ae903c930eec9661f6a7ec4
MD5 e5587f5f7e4d60cf41dbc17d0105e141
BLAKE2b-256 09473aeac577750f0318321c28929531941e175f6a2855c0884747eb803989cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blindpay-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 39.9 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.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe97ceb1043e49c51481a051d4d54c29c36bcd919aeea64ab4c2c278a587f9ad
MD5 f2ab196891e454cdd2d93b09c41d5adc
BLAKE2b-256 cba396ab8b36f51905331bd2f3ef427a3a9831f36648e98e4f38deb1afed9e00

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