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
- Dart 2.12.0 or later OR Flutter 1.26.0 or later
- Dio 4.0.0+
To use the package from pub.dev, please include the following in pubspec.yaml
dependencies:
openapi: 1.0.0If 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: mainTo use the package from your local drive, please include the following in pubspec.yaml
dependencies:
openapi:
path: /path/to/openapiPlease 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");
}
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 |
- AddRiskProfileRequest
- AddRiskProfileResponse
- FiatConfirm
- FiatConfirmResponse
- FiatInConfirmBody
- FiatInRequestBody
- FiatInRequestResponse
- FiatInRequestResponseActionForm
- FiatInRequestResponseResult
- FiatRequest
- FiatRequestResponse
- FiatRequestResponseResponse
- FiatRequestResponseResponseBody
- FiatRequestResponseResponseHead
- GetSystemHealthResponse
- GetSystemHealthResponseModules
- GetUserInfo
- GetUserResponse
- GetUserResponseDocuments
- GetUserResponseLocation
- GetUserResponseOtpStatus
- GetUserResponseUserInfo
- Login
- LoginResponse
- Register
- RegisterResponse
- SendOTPBody
- SendOTPResponse
- UserID
- Type: HTTP basic authentication