Skip to content

julsdelatierra/conekta-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyconekta

##NOT SUPPORTED: If you want to implement conekta wrapper go to https://github.com/conekta/conekta-python

Wrapper for api.conekta.io

Install

pip install conekta
easy_install conekta

Wrapper for conekta.mx

For example:

from conekta import Conekta

client = Conekta(public_key='asdasd', private_key='asdasd')

data = {
    "amount": 10000,
    "currency": "MXN",
    "description": "DVD - Zorro",
    "customer": {
        "name": "Gilberto Gil",
        "email": "[email protected]",
        "phone": 5567942342,
        "street1": "Jiminez 11",
        "street2": "Despacho 99",
        "street3": "La Condesa",
        "city": "Cuauhtemoc",
        "state": "DF",
        "country": "MX",
        "zip": "06100"
    },
    "bank": {
        "type": "banorte"
    }
}

oxxo_charge = client.charges.create(data)

print oxxo_charge.to_json()

Endpoints

charges.create()

About

Wrapper for conekta.mx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages