All URIs are relative to https://remesita.com
| Method | HTTP request | Description |
|---|---|---|
| rest_v1_business_get | GET /rest/v1/business | Obtiene la lista de negocios registrados |
| rest_v1_payment_link_post | POST /rest/v1/payment-link | Genera un link de pago |
list[InlineResponse200] rest_v1_business_get()
Obtiene la lista de negocios registrados
Devuelve una lista de todos los negocios registrados en remesita
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.BusinessApi(swagger_client.ApiClient(configuration))
try:
# Obtiene la lista de negocios registrados
api_response = api_instance.rest_v1_business_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling BusinessApi->rest_v1_business_get: %s\n" % e)This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2007 rest_v1_payment_link_post(body)
Genera un link de pago
Crea un link de pago basado en los detalles proporcionados
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.BusinessApi(swagger_client.ApiClient(configuration))
body = swagger_client.Body1() # Body1 | Detalles para generar el link de pago
try:
# Genera un link de pago
api_response = api_instance.rest_v1_payment_link_post(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling BusinessApi->rest_v1_payment_link_post: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| body | Body1 | Detalles para generar el link de pago |
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]