Skip to content

Repository files navigation

openapi (EXPERIMENTAL)

PDAX Integration with GCash

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: 1.2.1
  • Build package: org.openapitools.codegen.languages.DartDioClientCodegen

Requirements

  • Dart 2.12.0 or later OR Flutter 1.26.0 or later
  • Dio 4.0.0+

Installation & Usage

pub.dev

To use the package from pub.dev, please include the following in pubspec.yaml

dependencies:
  openapi: 1.0.0

Github

If this Dart package is published to Github, please include the following in pubspec.yaml

dependencies:
  openapi:
    git:
      url: https://github.com/GIT_USER_ID/GIT_REPO_ID.git
      #ref: main

Local development

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

dependencies:
  openapi:
    path: /path/to/openapi

Getting Started

Please follow the installation procedure and then run the following:

import 'package:openapi/openapi.dart';


final api = Openapi().getAuthenticationApi();

try {
    final response = await api.getSystemHealth();
    print(response);
} catch on DioError (e) {
    print("Exception when calling AuthenticationApi->getSystemHealth: $e\n");
}

Documentation for API Endpoints

All URIs are relative to https://test.v1.api.pdax.ph/caas-gcash-orchestrator

Class Method HTTP request Description
AuthenticationApi getSystemHealth GET /gcash/system_health Get System Health
DefaultApi fiatConfirm POST /gcash/users/{userId}/fiat_out_confirm Confirm fiat request to GCash Cash Out
DefaultApi fiatInConfirm POST /gcash/users/{userId}/fiat_in_confirm Confirm fiat request to GCash Cash In
DefaultApi fiatInRequest POST /gcash/users/{userId}/fiat_in_request Fiat request to GCash Cash In
DefaultApi fiatRequest POST /gcash/users/{userId}/fiat_out_request Create new fiat request to GCash Cash In
DefaultApi getCryptoPrice GET /gcash/crypto_prices Get PDAX crypto market prices
DefaultApi getIdToken POST /gcash/login Get idToken
DefaultApi getUserId POST /gcash/get_user_id Get User ID
DefaultApi getUserInfo POST /gcash/users/{userId} Get User Info
DefaultApi postRiskProfile POST /gcash/risk_profiles Post user's Risk Profile
DefaultApi registerUser POST /gcash/users Add new user
DefaultApi sendOTP POST /gcash/users/{userId}/otp Send OTP email
DefaultApi testLogin POST /gcash/login-test Get idToken

Documentation For Models

Documentation For Authorization

Authorization

  • Type: HTTP basic authentication

Author

About

OpenAPI repository for serving CaaS in-used APIs

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages