-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# PyKhipu | ||
|
||
Paquete de Python para el API 2.0 del servicio de pagos Khipu | ||
|
||
🇬🇧 Python wrapper for the Khipu payment service API v2.0 | ||
|
||
![PyPI](https://img.shields.io/pypi/v/pykhipu) | ||
|
||
## Sobre Khipu | ||
|
||
> [Khipu](https://cl.khipu.com/page/introduccion) permite a las personas y empresas, pagar y cobrar electrónicamente usando sus propias cuentas corrientes o cuentas vista del banco, de manera fácil, rápida y segura. | ||
## Instalación | ||
|
||
```bash | ||
pip install pykhipu | ||
``` | ||
|
||
## Uso | ||
|
||
### Interfaz de bajo nivel | ||
|
||
Iguala al API de Khipu en llamadas, ideal para portar código o en casos en que se busque más control sobre los resultados. | ||
|
||
```python | ||
from pykhipu.client import Client | ||
from pykhipu import currency | ||
|
||
client = Client(receiver_id='1234', secret='abcd') | ||
payment = client.payments.post('test', currency.USD, 100) | ||
print(payment.payment_url) | ||
``` |
This file was deleted.
Oops, something went wrong.