Natural Payments SDK
Project description
Natural Payments Python SDK
The Natural Payments SDK for Python provides access to the Natural API for building AI agents that send, receive, and manage money.
Documentation
Full documentation, guides, and API reference are available at docs.natural.co/guides/platform/sdks.
Installation
pip install naturalpay
Getting started
import os
from naturalpay import NaturalClientSync
client = NaturalClientSync(api_key=os.environ.get("NATURAL_API_KEY"))
payment = client.payments.create(
recipient="alice@example.com",
amount=5000,
memo="Payment for consulting",
agent_id="agt_019cd1798d637a4da75dce386343931d",
instance_id="session-abc123",
customer_party_id="pty_019cd34e27c179bfbbe6870486b11b67",
idempotency_key="pay_unique_key",
)
print(payment.transaction_id)
An async client is also available as NaturalClient. See docs.natural.co/guides/platform/sdks for the async pattern.
MCP server
The SDK ships with an MCP server for AI agent integration with Claude Desktop, Cursor, and other MCP clients:
uvx naturalpay mcp serve
See docs.natural.co/guides/platform/sdks#mcp-server for client configuration.
Requirements
Python 3.12+
License
MIT
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 naturalpay-0.1.3.tar.gz.
File metadata
- Download URL: naturalpay-0.1.3.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40f2dd1be4915f580b0a5429d334118379fd511377266dbb52b742e7b8229643
|
|
| MD5 |
8f173b54260b0c3a7eaeeea4d12dbcd3
|
|
| BLAKE2b-256 |
0ce7a619cbd9b604973956f6af7b1fc10d2b05766879c86a01744effc594db7f
|
Provenance
The following attestation bundles were made for naturalpay-0.1.3.tar.gz:
Publisher:
release.yml on naturalpay/naturalpay-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
naturalpay-0.1.3.tar.gz -
Subject digest:
40f2dd1be4915f580b0a5429d334118379fd511377266dbb52b742e7b8229643 - Sigstore transparency entry: 1259203456
- Sigstore integration time:
-
Permalink:
naturalpay/naturalpay-python@0db7925789217921a7c1585a45b463df90119a03 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/naturalpay
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0db7925789217921a7c1585a45b463df90119a03 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file naturalpay-0.1.3-py3-none-any.whl.
File metadata
- Download URL: naturalpay-0.1.3-py3-none-any.whl
- Upload date:
- Size: 27.7 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 |
e33a4aa4a23d66d3e918a30f0a938839bfc46f0e32044cd7d849dce05984db27
|
|
| MD5 |
9eaa502e06f59b62740c8ec1b59783f4
|
|
| BLAKE2b-256 |
3730114b8b3abe67e5a4661c5a61a7b21a4024d62c2aeb6594ac1e7d78a72743
|
Provenance
The following attestation bundles were made for naturalpay-0.1.3-py3-none-any.whl:
Publisher:
release.yml on naturalpay/naturalpay-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
naturalpay-0.1.3-py3-none-any.whl -
Subject digest:
e33a4aa4a23d66d3e918a30f0a938839bfc46f0e32044cd7d849dce05984db27 - Sigstore transparency entry: 1259203561
- Sigstore integration time:
-
Permalink:
naturalpay/naturalpay-python@0db7925789217921a7c1585a45b463df90119a03 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/naturalpay
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0db7925789217921a7c1585a45b463df90119a03 -
Trigger Event:
workflow_dispatch
-
Statement type: