Skip to main content

infinihash-baas

Python SDK for Infinihash Rails (BaaS): invoices, ACH/stablecoin collection, settlement, signed records export.

pip install "git+https://github.com/Infinihash/baas-python@v0.1.0"
from infinihash_baas import Rails, SANDBOX_URL
r = Rails("ihb_...", base_url=SANDBOX_URL)      # build against the sandbox first
inv = r.create_invoice("INV-1", customer_id, [{"description": "Work", "unitCents": 25000}])
r.send_invoice(inv["id"])
r.pay_invoice(inv["id"], idempotency_key="INV-1-pay-1")   # retries never double-move money
  • Rails().capabilities() / require("...") read what the host really offers (escrow and refunds are unavailable on every current deployment).
  • verify_webhook_signature(secret, raw_body, header) is fail-closed.
  • create_sandbox_key(email) gets a free, instant sandbox key (no sign-up); examples/sandbox_quickstart.py goes from nothing to a paid sandbox invoice.
  • Examples: examples/capabilities.py (no key needed), examples/sandbox_quickstart.py, examples/invoice_and_collect.py.
  • Reference: https://rails-api.infinihash.com/api/docs. Get started: https://onboard.infinihash.com.

Metadata

Release files for infinihash-baas 0.1.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 infinihash-baas 0.1.0
File Size Uploaded Provenance Actions
infinihash_baas-0.1.0.tar.gz 5.6 kB Without provenance Details for infinihash_baas-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for infinihash-baas 0.1.0
File Interpreter ABI Platform Actions
infinihash_baas-0.1.0-py3-none-any.whl Python 3 none any Details for infinihash_baas-0.1.0-py3-none-any.whl

Total release size: 10.9 kB

Release files / infinihash_baas-0.1.0.tar.gz

Download URL infinihash_baas-0.1.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
220c66c911be922e1eeb6ca9d2166049ac888aa5d1dacb40089448c1ab2567aa
BLAKE2b-256 checksum
How to use checksums
366478f8828376ae570523a8b5ecdf15cc3bf8021462a62df0e3615ea7d496ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release files / infinihash_baas-0.1.0-py3-none-any.whl

Download URL infinihash_baas-0.1.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ba598d4c4dfa1c931ffc130e4dfe0e0c8081b6ccf76fbd4937a3752c4ed59af
BLAKE2b-256 checksum
How to use checksums
c52c9f6bd7d7350b99ad67abab2f55467c5cbab3a877689a82b75d98658789ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Security for infinihash-baas 0.1.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

0.1.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