Skip to content

REMEXFULAP/python-sdk-client

Repository files navigation

python-client

Api de remesita.com para desarrolladores. Primero obten tu apiKey y apiSecret, y para autenticarte debes ejecutar el endpoint rest/v1/auth en la respuesta obtendrás un token de acceso que debes usar en el resto de peticiones

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com//.git

(you may need to run pip with root permission: sudo pip install git+https://github.com//.git)

Then import the package:

import swagger_client 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import swagger_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Bearer
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.AuthenticationApi(swagger_client.ApiClient(configuration))
body = swagger_client.Body2() # Body2 | JSON con api_key y api_secret

try:
    # Autentica al usuario con api_key y api_secret
    api_response = api_instance.rest_v1_auth_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthenticationApi->rest_v1_auth_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://remesita.com

Class Method HTTP request Description
AuthenticationApi rest_v1_auth_post POST /rest/v1/auth Autentica al usuario con api_key y api_secret
BusinessApi rest_v1_business_get GET /rest/v1/business Obtiene la lista de negocios registrados
BusinessApi rest_v1_payment_link_post POST /rest/v1/payment-link Genera un link de pago
OperationsApi rest_v1_operation_orders_get GET /rest/v1/operation/orders Obtiene una lista de órdenes
OperationsApi rest_v1_operation_p2p_get GET /rest/v1/operation/p2p Obtiene una lista de operaciones P2P
PrepaidCardsApi rest_v1_card_number_toggle_post POST /rest/v1/card/{number}/toggle Bloquea o desbloquea una tarjeta
PrepaidCardsApi rest_v1_card_number_transactions_pg_pg_size_get GET /rest/v1/card/{number}/transactions/{pg}/{pgSize} Obtiene las transacciones de una tarjeta
PrepaidCardsApi rest_v1_card_transfer_between_post POST /rest/v1/card/transfer-between Transfiere saldo entre cuentas Remesita
PrepaidCardsApi rest_v1_cards_get GET /rest/v1/cards Obtiene la lista de tarjetas prepagadas
ProfileApi rest_v1_balance_get GET /rest/v1/balance Obtiene datos de balance
ProfileApi rest_v1_user_lockup_code_code_post POST /rest/v1/user/lockup-code/{code} Obtener datos de un cliente a partir de su codigo de cliente/referidos
DefaultApi rest_v1_user_lockup_code_code_get GET /rest/v1/user/lockup-code/{code} Obtener datos de un cliente a partir de su codigo de cliente/referidos

Documentation For Models

Documentation For Authorization

Bearer

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Author

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages