Skip to main content

Natural Payments SDK

Project description

naturalpay

Natural Payments SDK

Installation

pip install naturalpay
# or
uv add naturalpay

Quick Start

from naturalpay import NaturalClient

client = NaturalClient(api_key="pk_sandbox_xxx")

# Create a payment
payment = await client.payments.create(
    recipient_email="alice@example.com",
    amount=50.00,
    memo="For consulting"
)

print(payment.transfer_id)  # txn_abc123

MCP Server

Run the MCP server for AI agent integrations:

# Using uvx (recommended)
uvx naturalpay mcp serve

# Or using python module
python -m naturalpay mcp serve

# With SSE transport
uvx naturalpay mcp serve --transport sse --port 8080

Note: We recommend uvx or python -m over global installation to avoid conflicts if you also use the TypeScript SDK (npx @naturalpay/sdk).

Documentation

License

MIT

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

naturalpay-0.0.8.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

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

naturalpay-0.0.8-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file naturalpay-0.0.8.tar.gz.

File metadata

  • Download URL: naturalpay-0.0.8.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for naturalpay-0.0.8.tar.gz
Algorithm Hash digest
SHA256 342edd80dca3503a0d6a02258e29112ed9346f1460d94158c5543dec736120c1
MD5 65fff586fa9c0b2676a7b412207d723b
BLAKE2b-256 df7a91108ed70769301a84313e98dbf7ff7e9addd7b2f87f2a404c4b9a8fe94d

See more details on using hashes here.

File details

Details for the file naturalpay-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: naturalpay-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for naturalpay-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1226711eff440ed95527b8324a3df9aee30d3afde909632298603911e7c2bdd5
MD5 cb98daf4945dd3df4c162b76561f2feb
BLAKE2b-256 3930a6e1bac13eeed1af8388f1ad4ebd20ecc770583c3d191e693a6f10baa4e4

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