cardpointe-api-python-client


Namecardpointe-api-python-client JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/dldevinc/cardpointe-api-python-client
SummaryUnofficial Python client library for CardPointe Gateway and CardSecure APIs.
upload_time2023-01-09 09:01:03
maintainerMihail Mishakin
docs_urlNone
authorMihail Mishakin
requires_python>=3.7
licenseBSD license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # cardpointe-api-python-client

Unofficial Python client library for CardPointe Gateway and CardSecure APIs.

[![PyPI](https://img.shields.io/pypi/v/cardpointe-api-python-client.svg)](https://pypi.org/project/cardpointe-api-python-client/)
[![Build Status](https://github.com/dldevinc/cardpointe-api-python-client/actions/workflows/tests.yml/badge.svg)](https://github.com/dldevinc/cardpointe-api-python-client)
[![Software license](https://img.shields.io/pypi/l/cardpointe-api-python-client.svg)](https://pypi.org/project/cardpointe-api-python-client/)

## Compatibility

-   `python` >= 3.7

## Installation

Install the latest release with pip:

```shell
pip install cardpointe-api-python-client
```

## Example Usage

### CardPointe Gateway API

```python
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](https://developer.cardpointe.com/cardconnect-api#inquire-merchant)       | `api.inquireMerchant.get()`                                                                                   |
| [Authorization](https://developer.cardpointe.com/cardconnect-api#authorization)             | `api.authorization.create(...)`                                                                               |
| [Capture](https://developer.cardpointe.com/cardconnect-api#capture)                         | `api.capture.create(...)`                                                                                     |
| [Inquire](https://developer.cardpointe.com/cardconnect-api#inquire)                         | `api.inquire.get(...)`                                                                                        |
| [Inquire By Order ID](https://developer.cardpointe.com/cardconnect-api#inquire-by-order-id) | `api.inquireByOrderId.get(...)`                                                                               |
| [Void](https://developer.cardpointe.com/cardconnect-api#void)                               | `api.void.create(...)`                                                                                        |
| [Void By Order ID](https://developer.cardpointe.com/cardconnect-api#void-by-order-id)       | `api.voidByOrderId.create(...)`                                                                               |
| [Refund](https://developer.cardpointe.com/cardconnect-api#refund)                           | `api.refund.create(...)`                                                                                      |
| [Profile](https://developer.cardpointe.com/cardconnect-api#profile)                         | `api.profile.get(...)`<br>`api.profile.create(...)`<br>`api.profile.update(...)`<br>`api.profile.delete(...)` |
| [Signature Capture](https://developer.cardpointe.com/cardconnect-api#signature-capture)     | `api.signature.create(...)`                                                                                   |
| [BIN](https://developer.cardpointe.com/cardconnect-api#bin)                                 | `api.bin.get(...)`                                                                                            |
| [Funding](https://developer.cardpointe.com/cardconnect-api#funding)                         | `api.funding.get(...)`                                                                                        |

### CardPointe CardSecure API

```python
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](https://developer.cardpointe.com/cardsecure-api#tokenize) | `api.tokenize.create(...)`<br>`api.tokenize.update(...)` |
| [Echo](https://developer.cardpointe.com/cardsecure-api#echo)         | `api.echo.create(...)`                                   |

## Links

-   [Gateway API Docs](https://developer.cardpointe.com/cardconnect-api)
-   [CardSecure API Docs](https://developer.cardpointe.com/cardsecure-api)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dldevinc/cardpointe-api-python-client",
    "name": "cardpointe-api-python-client",
    "maintainer": "Mihail Mishakin",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "x896321475@gmail.com",
    "keywords": "",
    "author": "Mihail Mishakin",
    "author_email": "x896321475@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a6/31/e6b5251aa6c6dfaadec0fb4b21953239d1c6664d3605456e5558a81d8bb8/cardpointe-api-python-client-0.0.2.tar.gz",
    "platform": "OS Independent",
    "description": "# cardpointe-api-python-client\n\nUnofficial Python client library for CardPointe Gateway and CardSecure APIs.\n\n[![PyPI](https://img.shields.io/pypi/v/cardpointe-api-python-client.svg)](https://pypi.org/project/cardpointe-api-python-client/)\n[![Build Status](https://github.com/dldevinc/cardpointe-api-python-client/actions/workflows/tests.yml/badge.svg)](https://github.com/dldevinc/cardpointe-api-python-client)\n[![Software license](https://img.shields.io/pypi/l/cardpointe-api-python-client.svg)](https://pypi.org/project/cardpointe-api-python-client/)\n\n## Compatibility\n\n-   `python` >= 3.7\n\n## Installation\n\nInstall the latest release with pip:\n\n```shell\npip install cardpointe-api-python-client\n```\n\n## Example Usage\n\n### CardPointe Gateway API\n\n```python\nfrom cardpointe.gateway.api import GatewayAPI\n\napi = GatewayAPI(\n    site=\"fts-uat\",\n    merchant_id=\"496160873888\",\n    username=\"testing\",\n    password=\"testing123\"\n)\n\n# Inquire Merchant\nresponse = api.inquireMerchant.get()\n\n# Authorization & capture\nresponse = api.authorization.create(\n    amount=\"2.50\",\n    account=\"4111 1111 1111 1111\",\n    expiry=\"1225\",\n    cvv2=\"123\",\n\n    name=\"John Smith\",\n    city=\"Denver\",\n    region=\"CO\",\n    postal=\"80014\",\n    email=\"john@smith.com\",\n\n    ecomind=\"E\",\n    capture=\"Y\",\n    userfields={\n        \"invoice\": 12345,\n        \"user_id\": 3\n    }\n)\n```\n\nCheck out the table below for the full list of available services:\n\n| Service                                                                                     | Examples                                                                                                      |\n| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |\n| [Inquire Merchant](https://developer.cardpointe.com/cardconnect-api#inquire-merchant)       | `api.inquireMerchant.get()`                                                                                   |\n| [Authorization](https://developer.cardpointe.com/cardconnect-api#authorization)             | `api.authorization.create(...)`                                                                               |\n| [Capture](https://developer.cardpointe.com/cardconnect-api#capture)                         | `api.capture.create(...)`                                                                                     |\n| [Inquire](https://developer.cardpointe.com/cardconnect-api#inquire)                         | `api.inquire.get(...)`                                                                                        |\n| [Inquire By Order ID](https://developer.cardpointe.com/cardconnect-api#inquire-by-order-id) | `api.inquireByOrderId.get(...)`                                                                               |\n| [Void](https://developer.cardpointe.com/cardconnect-api#void)                               | `api.void.create(...)`                                                                                        |\n| [Void By Order ID](https://developer.cardpointe.com/cardconnect-api#void-by-order-id)       | `api.voidByOrderId.create(...)`                                                                               |\n| [Refund](https://developer.cardpointe.com/cardconnect-api#refund)                           | `api.refund.create(...)`                                                                                      |\n| [Profile](https://developer.cardpointe.com/cardconnect-api#profile)                         | `api.profile.get(...)`<br>`api.profile.create(...)`<br>`api.profile.update(...)`<br>`api.profile.delete(...)` |\n| [Signature Capture](https://developer.cardpointe.com/cardconnect-api#signature-capture)     | `api.signature.create(...)`                                                                                   |\n| [BIN](https://developer.cardpointe.com/cardconnect-api#bin)                                 | `api.bin.get(...)`                                                                                            |\n| [Funding](https://developer.cardpointe.com/cardconnect-api#funding)                         | `api.funding.get(...)`                                                                                        |\n\n### CardPointe CardSecure API\n\n```python\nfrom cardpointe.cardsecure.api import CardSecureAPI\n\napi = CardSecureAPI(\n    site=\"fts-uat\",\n    merchant_id=\"496160873888\",\n    username=\"testing\",\n    password=\"testing123\"\n)\n\nresponse = api.tokenize.create(\n    account=\"4111 1111 1111 1111\",\n    expiry=\"1225\",\n    cvv=\"123\"\n)\n```\n\nCheck out the table below for the full list of available services:\n\n| Service                                                              | Examples                                                 |\n| -------------------------------------------------------------------- | -------------------------------------------------------- |\n| [Tokenize](https://developer.cardpointe.com/cardsecure-api#tokenize) | `api.tokenize.create(...)`<br>`api.tokenize.update(...)` |\n| [Echo](https://developer.cardpointe.com/cardsecure-api#echo)         | `api.echo.create(...)`                                   |\n\n## Links\n\n-   [Gateway API Docs](https://developer.cardpointe.com/cardconnect-api)\n-   [CardSecure API Docs](https://developer.cardpointe.com/cardsecure-api)\n",
    "bugtrack_url": null,
    "license": "BSD license",
    "summary": "Unofficial Python client library for CardPointe Gateway and CardSecure APIs.",
    "version": "0.0.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f982ff82ac21402e32f1f1a09a4ed3c30dd74f2cfe20d457b09ef800259df4a1",
                "md5": "ef3d8c78420df80279410c781c581af0",
                "sha256": "72180130821690c7c376d3678b1ff62450d91aa21375194806ec5e0ed00eb486"
            },
            "downloads": -1,
            "filename": "cardpointe_api_python_client-0.0.2-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ef3d8c78420df80279410c781c581af0",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 19833,
            "upload_time": "2023-01-09T09:01:02",
            "upload_time_iso_8601": "2023-01-09T09:01:02.438791Z",
            "url": "https://files.pythonhosted.org/packages/f9/82/ff82ac21402e32f1f1a09a4ed3c30dd74f2cfe20d457b09ef800259df4a1/cardpointe_api_python_client-0.0.2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a631e6b5251aa6c6dfaadec0fb4b21953239d1c6664d3605456e5558a81d8bb8",
                "md5": "f3f29638c2747f5f99ff75f4a4fbbcff",
                "sha256": "00251504f53382afe44d5d35f7633c5c1480fc917a4b4c082251f239a8457bb4"
            },
            "downloads": -1,
            "filename": "cardpointe-api-python-client-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "f3f29638c2747f5f99ff75f4a4fbbcff",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 18586,
            "upload_time": "2023-01-09T09:01:03",
            "upload_time_iso_8601": "2023-01-09T09:01:03.561881Z",
            "url": "https://files.pythonhosted.org/packages/a6/31/e6b5251aa6c6dfaadec0fb4b21953239d1c6664d3605456e5558a81d8bb8/cardpointe-api-python-client-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-09 09:01:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "dldevinc",
    "github_project": "cardpointe-api-python-client",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "cardpointe-api-python-client"
}
        
Elapsed time: 0.05147s