Client library for stpmex.com
Project description
STP python3.6+ client library
Cliente para el servicio SOAP de STP
Requerimientos
Python v3.6 o superior.
Documentación de API
Instalación
pip install stpmex
Correr pruebas
make venv
source venv/bin/activate
make test
Uso básico
from stpmex import Client
client = Client(
empresa='TU_EMPRESA',
priv_key='PKEY_CONTENIDO',
priv_key_passphrase='supersecret',
)
cuenta = client.cuentas.create(
nombre='Eduardo',
apellidoPaterno='Salvador',
apellidoMaterno='Hernández',
rfcCurp='rfcrfc',
cuenta='646180110400000007',
)
orden = client.ordenes.create(
institucionContraparte='40072',
monto=1.2,
nombreBeneficiario='Ricardo Sanchez',
tipoCuentaBeneficiario=40,
cuentaBeneficiario='072691004495711499',
conceptoPago='Prueba',
cuentaOrdenante='646180110400000007',
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stpmex-3.0.0.dev3.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for stpmex-3.0.0.dev3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96dbe886b72ddcdfba0b7b5a9c92044b6340c063df3297f560e114cfe9fc116f |
|
MD5 | 208545ae1003b37a724842165af25261 |
|
BLAKE2b-256 | 81ced4d761b35e84a157ca1c3f0cbd0bed6a097e3894c4f242b1a66fc16445a5 |