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.6.tar.gz (18.1 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.6-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: naturalpay-0.0.6.tar.gz
  • Upload date:
  • Size: 18.1 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.6.tar.gz
Algorithm Hash digest
SHA256 724d56540007279b245f97b73fb4701ecc383dcb409576e349f31b72df545b26
MD5 2501faea4ca896c98bcdfa30de454407
BLAKE2b-256 aa36a4985f62ad4982c83c91af309baf6cfaacf1ac01eba023a308d6d129744f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: naturalpay-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 26.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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 afa603ba0369e2ddeedb40df719f3f30eb9dad0b2b517d92d81534a9cf6fd84f
MD5 d6a122ea1a680378e1c83a30476355c8
BLAKE2b-256 a6d02ab5d54b7b1be94475f637a5215ece157b61554c3ee3aac02af6ef6bf42e

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