Unofficial Python client library for CardPointe Gateway and CardSecure APIs.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cardpointe-api-python-client-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30af011a556abf03c47aae9f367fd27e1f6286316be8323319faa88e442863f8 |
|
MD5 | 7a0b1405ad4a8e75a6cbbaf8f8f345ca |
|
BLAKE2b-256 | 230950c3f969f36f80b1adbe17978b69a9fbb834681d1ddb8ab2c3bc132883f0 |
Close
Hashes for cardpointe_api_python_client-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a128600f611bec3c0f94dd2016ecc421eeb26ee473e9f04463b09af74f65eba |
|
MD5 | 40d1283695bdbee0ef03dfb20434093c |
|
BLAKE2b-256 | 946274e22b04a4074dc720a36a0e361bdb1637466541476daee63f05a1c4640b |