Skip to main content

Spreedly API client for Python

Project description

hts-spreedly

HTSFA client for interacting with the Spreedly Payments API.

Usage Example

import spreedly.client

client = spreedly.client.Client(
    base_url="https://core.spreedly.com",
    env_key=env_token, # spreedly environment token
    access_secret=access_secret, # environment access secret
    # optional encryption settings
    encryption=spreedly.client.Encryption(
        # token identifying which RSA certificate to use
        certificate_token=cert_token,
        # the certificate's public key
        public_key=pubkey
    ),
)

token = client.tokenize(
    number="4111111111111111",
    expiration_month="01",
    expiration_year="2028",
    first_name="john",
    last_name="smith",
)

print("Successfully tokenized card", token)

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

hts_spreedly-0.1.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

hts_spreedly-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file hts_spreedly-0.1.1.tar.gz.

File metadata

  • Download URL: hts_spreedly-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for hts_spreedly-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e4e51049021e3aac410bfaa47f3bf6fccb4d5a1128faed4f2b8b00e875e756d4
MD5 141a83cc1dd38471d971a909fb53b03e
BLAKE2b-256 63b015a9469281134d5084375d7bc5ef8a9e0f6cdc2cc6c22e37da8dba475d3f

See more details on using hashes here.

File details

Details for the file hts_spreedly-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: hts_spreedly-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for hts_spreedly-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cfa5fd19c27e898c539bc8b392e8ebb8cdc500fd274da27f4008dc96d902e4bc
MD5 9d02dc842e455f11a70d4aaab20939ba
BLAKE2b-256 2becea6d42e2b5abfe32dfd8fd64bf2c0945b69f6e87fd00d38ab134c5ec1244

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