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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file sellgate-1.0.0.tar.gz.

File metadata

  • Download URL: sellgate-1.0.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for sellgate-1.0.0.tar.gz
Algorithm Hash digest
SHA256 efe143ad4873468cb0b1ef30c8ea107f6db32ece187e777d415ad4aeb014a3c4
MD5 0f3816793c58defbcd4ee3f7effaea43
BLAKE2b-256 432d31a03f96c8c088371c9d81649f14956d08bd13025a41cdcfac91837b1bc4

See more details on using hashes here.

File details

Details for the file sellgate-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sellgate-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for sellgate-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ecfb5e51cce077d24e47e48801578107d93bd888bf82fe57211d1cd399243db9
MD5 16689370b2a08b252f09804642d7f39d
BLAKE2b-256 214bc41bea279e58c0426ac93897416aa8888aecaad09eeb92232e79b8eec996

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