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 Dart package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Build package: io.swagger.codegen.languages.DartClientCodegen
Dart 1.20.0 or later OR Flutter 0.0.20 or later
If this Dart package is published to Github, please include the following in pubspec.yaml
name: swagger
version: 1.0.0
description: Swagger API client
dependencies:
swagger:
git: https://github.com//.git
version: 'any'
To use the package in your local drive, please include the following in pubspec.yaml
dependencies:
swagger:
path: /path/to/swagger
TODO
Please follow the installation procedure and then run the following:
import 'package:swagger/api.dart';
// TODO Configure API key authorization: Bearer
//swagger.api.Configuration.apiKey{'Authorization'} = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//swagger.api.Configuration.apiKeyPrefix{'Authorization'} = "Bearer";
var api_instance = new AuthenticationApi();
var body = new Body2(); // Body2 | JSON con api_key y api_secret
try {
var result = api_instance.restV1AuthPost(body);
print(result);
} catch (e) {
print("Exception when calling AuthenticationApi->restV1AuthPost: $e\n");
}
All URIs are relative to https://remesita.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AuthenticationApi | restV1AuthPost | POST /rest/v1/auth | Autentica al usuario con api_key y api_secret |
| BusinessApi | restV1BusinessGet | GET /rest/v1/business | Obtiene la lista de negocios registrados |
| BusinessApi | restV1PaymentLinkPost | POST /rest/v1/payment-link | Genera un link de pago |
| DefaultApi | restV1UserLockupCodeCodeGet | GET /rest/v1/user/lockup-code/{code} | Obtener datos de un cliente a partir de su codigo de cliente/referidos |
| OperationsApi | restV1OperationOrdersGet | GET /rest/v1/operation/orders | Obtiene una lista de órdenes |
| OperationsApi | restV1OperationP2pGet | GET /rest/v1/operation/p2p | Obtiene una lista de operaciones P2P |
| PrepaidCardsApi | restV1CardNumberTogglePost | POST /rest/v1/card/{number}/toggle | Bloquea o desbloquea una tarjeta |
| PrepaidCardsApi | restV1CardNumberTransactionsPgPgSizeGet | GET /rest/v1/card/{number}/transactions/{pg}/{pgSize} | Obtiene las transacciones de una tarjeta |
| PrepaidCardsApi | restV1CardTransferBetweenPost | POST /rest/v1/card/transfer-between | Transfiere saldo entre cuentas Remesita |
| PrepaidCardsApi | restV1CardsGet | GET /rest/v1/cards | Obtiene la lista de tarjetas prepagadas |
| ProfileApi | restV1BalanceGet | GET /rest/v1/balance | Obtiene datos de balance |
| ProfileApi | restV1UserLockupCodeCodePost | POST /rest/v1/user/lockup-code/{code} | Obtener datos de un cliente a partir de su codigo de cliente/referidos |
- Body
- Body1
- Body2
- InlineResponse200
- InlineResponse2001
- InlineResponse2002
- InlineResponse2003
- InlineResponse2003Items
- InlineResponse2004
- InlineResponse2004Items
- InlineResponse2005
- InlineResponse2005Items
- InlineResponse2006
- InlineResponse2006Items
- InlineResponse2007
- InlineResponse2008
- InlineResponse2008User
- InlineResponse2009
- InlineResponse401
- InlineResponse404
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header