Skip to main content

Delegare Python SDK for agent payment authorization and settlement

Project description

delegare

PyPI version Python versions License CI

Delegare Python SDK for agent payment authorization and settlement.

Installation

pip install delegare

Quickstart

import os
from delegare import ApiKeyAuth, Delegare, ChargeRequest

auth = ApiKeyAuth(
    merchant_id=os.environ.get("DELEGARE_MERCHANT_ID"),
    api_key=os.environ.get("DELEGARE_API_KEY")
)

with Delegare(auth) as client:
    charge = client.charge(ChargeRequest(
        amountCents=500,
        intentMandate="mandate_123",
        merchantReference="ref_123",
        taskType="financial_data_extraction"
    ))
    print(charge.status)

For more documentation, visit docs.delegare.dev.

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

delegare-0.1.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

delegare-0.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file delegare-0.1.0.tar.gz.

File metadata

  • Download URL: delegare-0.1.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for delegare-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e612d0f779a65189da811a8d8fd14783e9ea31a1a1ca99c22d627c9b5f67da16
MD5 8e23bd3d867c74e8ca8c55cf3d876ab3
BLAKE2b-256 c7bc4421333d3800fa42a707fe3a9c5e6b6cec843c2bbc3c6789e76ad11d35ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for delegare-0.1.0.tar.gz:

Publisher: python-release.yml on delegare/delegare

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file delegare-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: delegare-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for delegare-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6ff776fb1b7b6ff6bd4f94b6f9b11cf195d1425027d52170a1f964856be4cbf
MD5 87fcf691dc135846e02e4ce94457c2d6
BLAKE2b-256 7183156c3c3ccada8043fa5feb170618827d088eb41296dae1a0b8c344eb6536

See more details on using hashes here.

Provenance

The following attestation bundles were made for delegare-0.1.0-py3-none-any.whl:

Publisher: python-release.yml on delegare/delegare

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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