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.4.tar.gz (13.6 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.4-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: naturalpay-0.0.4.tar.gz
  • Upload date:
  • Size: 13.6 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.4.tar.gz
Algorithm Hash digest
SHA256 6168f0002f6a5d00a22b2d36130dfcc462fa26c231350fdaf946f98746cb6b18
MD5 f7a9f1483d47daaea5d500288eac96f4
BLAKE2b-256 6b24df9b14f91392b1ee3440203c9b803dafef7bddee2363576754e8bb7fddfe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: naturalpay-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 21.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 da395cf9492b1d13298c111078ba0486ffbe4d6e2c99039e8bd225835d431043
MD5 447220bbfaf9c36211469c61c68c218a
BLAKE2b-256 391f6885a5a9bb7ae55959800e174f188db2d06d68870bcffd3f8e4a8bf80ad8

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