##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()
charges.create()