Documentation
Python

Python

This is the Sellgate Python SDK. It is a simple SDK that allows you to easily integrate crypto payments into your python application.

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)