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.0.tar.gz
(2.5 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.0.tar.gz.
File metadata
- Download URL: hts_spreedly-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
313713fbeebd571217460a113eba675bffc83784f9b9641ccbbae68cff3bde73
|
|
| MD5 |
6409a01ab626a5c04071b42a7e82e15e
|
|
| BLAKE2b-256 |
5d138639e72857cad264d4b0c99dea66c7719f8fca9c8667ed6ec2d042183093
|
File details
Details for the file hts_spreedly-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hts_spreedly-0.1.0-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 |
4ab86dca14f553f9bce5d694968add825924d64a8fbc451488c28e094af57897
|
|
| MD5 |
e7d0c6108cb5b81464355d8ff400ce11
|
|
| BLAKE2b-256 |
657045a91d6ac0b047206b7df27374fa894ecf2f9ec9b5f43ec3817fbe1841cd
|