Skip to main content

A Python SDK for the Sellgate API

Project description

Sellgate Python SDK

This is the Sellgate Python SDK. It is a simple SDK to use the Sellgate API.

Sellgate provides an API service that allows sellers and developers to easily integrate crypto payments into their applications or payment flows. Using our service has several benefits:

  • Low transaction fees, just 1%.
  • No authentication required for any usage: No API keys, no accounts.
  • Examples for quick implementation on our docs.
  • Support for bug fixes, extra features and integration assistance.

For further documentation, please refer to the Sellgate docs

Installation

pip install sellgate

Usage

from sellgate import sellgate

checkout = sellgate().create_checkout({
  "price": '10',
  "crypto": [
    {
      "network": "ETH",
      "coin": "ETH",
      "address": "0xB1DA646D1cD015d205a99198e809724D5C78109d"
    }
  ]
})

address = sellgate().create_address({
  "crypto": 
    {
      "network": "ETH",
      "coin": "ETH",
      "address": "0xB1DA646D1cD015d205a99198e809724D5C78109d"
    },
  "webhook": "https://webhook.site/1234567890"
})

print(checkout)
print(address)

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

sellgate-1.0.0.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

sellgate-1.0.0-py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page