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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4e51049021e3aac410bfaa47f3bf6fccb4d5a1128faed4f2b8b00e875e756d4
|
|
| MD5 |
141a83cc1dd38471d971a909fb53b03e
|
|
| BLAKE2b-256 |
63b015a9469281134d5084375d7bc5ef8a9e0f6cdc2cc6c22e37da8dba475d3f
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfa5fd19c27e898c539bc8b392e8ebb8cdc500fd274da27f4008dc96d902e4bc
|
|
| MD5 |
9d02dc842e455f11a70d4aaab20939ba
|
|
| BLAKE2b-256 |
2becea6d42e2b5abfe32dfd8fd64bf2c0945b69f6e87fd00d38ab134c5ec1244
|