Delegare Python SDK for agent payment authorization and settlement
Project description
delegare
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e612d0f779a65189da811a8d8fd14783e9ea31a1a1ca99c22d627c9b5f67da16
|
|
| MD5 |
8e23bd3d867c74e8ca8c55cf3d876ab3
|
|
| BLAKE2b-256 |
c7bc4421333d3800fa42a707fe3a9c5e6b6cec843c2bbc3c6789e76ad11d35ef
|
Provenance
The following attestation bundles were made for delegare-0.1.0.tar.gz:
Publisher:
python-release.yml on delegare/delegare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
delegare-0.1.0.tar.gz -
Subject digest:
e612d0f779a65189da811a8d8fd14783e9ea31a1a1ca99c22d627c9b5f67da16 - Sigstore transparency entry: 1574521134
- Sigstore integration time:
-
Permalink:
delegare/delegare@f315dcabd39a6f035294354c83b28bc16fd64820 -
Branch / Tag:
refs/tags/delegare-py-v0.1.0 - Owner: https://github.com/delegare
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-release.yml@f315dcabd39a6f035294354c83b28bc16fd64820 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6ff776fb1b7b6ff6bd4f94b6f9b11cf195d1425027d52170a1f964856be4cbf
|
|
| MD5 |
87fcf691dc135846e02e4ce94457c2d6
|
|
| BLAKE2b-256 |
7183156c3c3ccada8043fa5feb170618827d088eb41296dae1a0b8c344eb6536
|
Provenance
The following attestation bundles were made for delegare-0.1.0-py3-none-any.whl:
Publisher:
python-release.yml on delegare/delegare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
delegare-0.1.0-py3-none-any.whl -
Subject digest:
d6ff776fb1b7b6ff6bd4f94b6f9b11cf195d1425027d52170a1f964856be4cbf - Sigstore transparency entry: 1574521154
- Sigstore integration time:
-
Permalink:
delegare/delegare@f315dcabd39a6f035294354c83b28bc16fd64820 -
Branch / Tag:
refs/tags/delegare-py-v0.1.0 - Owner: https://github.com/delegare
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-release.yml@f315dcabd39a6f035294354c83b28bc16fd64820 -
Trigger Event:
push
-
Statement type: