cardpointe-api-python-client
Unofficial Python client library for CardPointe Gateway and CardSecure APIs.
Compatibility
python>= 3.7
Installation
Install the latest release with pip:
pip install cardpointe-api-python-client
Example Usage
CardPointe Gateway API
from cardpointe.gateway.api import GatewayAPI
api = GatewayAPI(
site="fts-uat",
merchant_id="496160873888",
username="testing",
password="testing123"
)
# Inquire Merchant
response = api.inquireMerchant.get()
# Authorization & capture
response = api.authorization.create(
amount="2.50",
account="4111 1111 1111 1111",
expiry="1225",
cvv2="123",
name="John Smith",
city="Denver",
region="CO",
postal="80014",
email="john@smith.com",
ecomind="E",
capture="Y",
userfields={
"invoice": 12345,
"user_id": 3
}
)
Check out the table below for the full list of available services:
| Service | Examples |
|---|---|
| Inquire Merchant | api.inquireMerchant.get() |
| Authorization | api.authorization.create(...) |
| Capture | api.capture.create(...) |
| Inquire | api.inquire.get(...) |
| Inquire By Order ID | api.inquireByOrderId.get(...) |
| Void | api.void.create(...) |
| Void By Order ID | api.voidByOrderId.create(...) |
| Refund | api.refund.create(...) |
| Profile | api.profile.get(...)api.profile.create(...)api.profile.update(...)api.profile.delete(...) |
| Signature Capture | api.signature.create(...) |
| BIN | api.bin.get(...) |
| Funding | api.funding.get(...) |
CardPointe CardSecure API
from cardpointe.cardsecure.api import CardSecureAPI
api = CardSecureAPI(
site="fts-uat",
merchant_id="496160873888",
username="testing",
password="testing123"
)
response = api.tokenize.create(
account="4111 1111 1111 1111",
expiry="1225",
cvv="123"
)
Check out the table below for the full list of available services:
| Service | Examples |
|---|---|
| Tokenize | api.tokenize.create(...)api.tokenize.update(...) |
| Echo | api.echo.create(...) |
Links
Metadata
Release files for cardpointe-api-python-client 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cardpointe-api-python-client-0.0.2.tar.gz | 18.6 kB | Without provenance | Details for cardpointe-api-python-client-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cardpointe_api_python_client-0.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for cardpointe_api_python_client-0.0.2-py2.py3-none-any.whl |
Total release size: 38.4 kB
Release files / cardpointe-api-python-client-0.0.2.tar.gz
| Download URL | cardpointe-api-python-client-0.0.2.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00251504f53382afe44d5d35f7633c5c1480fc917a4b4c082251f239a8457bb4
|
|
BLAKE2b-256 checksum How to use checksums |
a631e6b5251aa6c6dfaadec0fb4b21953239d1c6664d3605456e5558a81d8bb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / cardpointe_api_python_client-0.0.2-py2.py3-none-any.whl
| Download URL | cardpointe_api_python_client-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
72180130821690c7c376d3678b1ff62450d91aa21375194806ec5e0ed00eb486
|
|
BLAKE2b-256 checksum How to use checksums |
f982ff82ac21402e32f1f1a09a4ed3c30dd74f2cfe20d457b09ef800259df4a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for cardpointe-api-python-client 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.