kstmostofa/dingconnect-api-php

A PHP Client for the DingConnect Mobile Top-Up API.

v1.0.0 2023-10-03 18:39 UTC

This package is auto-updated.

Last update: 2024-10-03 20:50:12 UTC


README

This PHP package was generated using the Swagger Codegen project:

  • API version: V1
  • Build package: io.swagger.codegen.languages.PhpClientCodegen

Requirements

  • PHP 5.5 and later

Installation

Composer

composer require Kstmostofa/dingconnect-api-php

Usage

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

$apiInstance = new Kstmostofa\DingConnect\Api\V1Api(
    // 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()
);
$cancellation_requests = array(new \Kstmostofa\DingConnect\Model\CancellationRequest()); // \Kstmostofa\DingConnect\Model\CancellationRequest[] | An explicit list of records to cancel.

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

?>

Documentation for API Endpoints

All URIs are relative to https://api.dingconnect.com

Documentation For Models

Documentation For Authorization

APIKeyHeader

  • Type: API key
  • API key parameter name: api_key
  • Location: HTTP header