Skip to content

REMEXFULAP/dart-sdk-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swagger

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

Requirements

Dart 1.20.0 or later OR Flutter 0.0.20 or later

Installation & Usage

Github

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'

Local

To use the package in your local drive, please include the following in pubspec.yaml

dependencies:
  swagger:
    path: /path/to/swagger

Tests

TODO

Getting Started

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");
}

Documentation for API Endpoints

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

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

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages