Skip to main content

Python Converge API

A simple, easy to use wrapper for Elavon's Converge API via key value pairs instead of XML.

Compatibility

This package will work with python 2 and 3

Installation

pip install convergence-api

Or to get master

wget https://github.com/wontonst/python-converge-api/archive/master.zip
unzip python-converge-api-master.zip
pip install python-converge-api-master

Example usage

Construct a new instance with your merchant ID, user ID, PIN and if you're using demo credentials or not.

c = Converge('your merchant id', 'your user id', 'your pin', is_demo=True)

You can then call any of the Converge transaction type with ->request() and provide the transaction type as well as an array of key value pairs to send to the API. The package will use the demo or live endpoint automatically based on how you constructed the object.

ccsale

response = c.request(
    'ccsale',
    ssl_card_number='***********7813',
    ssl_exp_date='0124',
    ssl_cvv2cvc2='1234',
    ssl_amount='10.00',
    ssl_avs_address='123 easy st',
    ssl_avs_zip='94041',
    ssl_3dsecure_value='false'
)
print(response)
{'errorCode': '5000', 'errorMessage': 'The Credit Card Number supplied in the authorization request appears to be invalid.', 'success': False, 'errorName': 'Credit Card Number Invalid'}

All Transaction Types

* ccauthonly
* ccavsonly
* ccsale
* ccverify
* ccgettoken
* cccredit
* ccforce
* ccbalinquiry
* ccgettoken
* ccreturn
* ccvoid
* cccomplete
* ccdelete
* ccupdatetip
* ccsignature
* ccaddrecurring
* ccaddinstall
* ccupdatetoken
* ccdeletetoken
* ccquerytoken

Metadata

Release files for convergence-api 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for convergence-api 0.2
File Size Uploaded Provenance Actions
convergence-api-0.2.tar.gz 2.5 kB Without provenance Details for convergence-api-0.2.tar.gz

Release files / convergence-api-0.2.tar.gz

Download URL convergence-api-0.2.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c315e43c342b681a451c8ae5e76828f219564e9d6500f7351f70656a658a6dfd
BLAKE2b-256 checksum
How to use checksums
3aa697bcc101c7b7775511d63204b35f3deb748358bc7c76acb2fc99c0ff4833
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.10

Security for convergence-api 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.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page