wallet/wallet

OpenAPI compliant library to access resources on the Wallet Platform

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 1

Open Issues: 0

Type:wallet-api-plugin

dev-master 2024-12-02 20:32 UTC

This package is auto-updated.

Last update: 2024-12-02 20:32:46 UTC


README

API

Installation & Usage

Requirements

PHP 7.4 and later. Should also work with PHP 8.0.

Composer

To install the bindings via Composer, add the following to composer.json:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
    }
  ],
  "require": {
    "GIT_USER_ID/GIT_REPO_ID": "*@dev"
  }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

<?php
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');




$apiInstance = new OpenAPI\Client\Api\A2PApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$a2_p_application_submission = new \OpenAPI\Client\Model\A2PApplicationSubmission(); // \OpenAPI\Client\Model\A2PApplicationSubmission

try {
    $result = $apiInstance->beginA2PApplication($a2_p_application_submission);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling A2PApi->beginA2PApplication: ', $e->getMessage(), PHP_EOL;
}

API Endpoints

All URIs are relative to https://api.wall.et

Models

Authorization

Authentication schemes defined for the API:

api_key

  • Type: API key
  • API key parameter name: access-token
  • Location: HTTP header

Tests

To run the tests, use:

composer install
vendor/bin/phpunit

Author

development@wallet.inc

About this package

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

  • API version: 2.1.600
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen