承接 kstmostofa/dingconnect-api-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kstmostofa/dingconnect-api-php

最新稳定版本:v1.0.0

Composer 安装命令:

composer require kstmostofa/dingconnect-api-php

包简介

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

README 文档

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

Class Method HTTP request Description
V1Api cancelTransfers POST /api/V1/CancelTransfers Attempt to cancel transfers with the submitted TransferIds
V1Api estimatePrices POST /api/V1/EstimatePrices Estimate prices for send or receive values
V1Api getAccountLookup GET /api/V1/GetAccountLookup Get providers and product information for a specific account number
V1Api getBalance GET /api/V1/GetBalance Get the current agent balance
V1Api getCountries GET /api/V1/GetCountries Get a list of supported countries
V1Api getCurrencies GET /api/V1/GetCurrencies Get a list of supported currencies
V1Api getErrorCodeDescriptions GET /api/V1/GetErrorCodeDescriptions Get a list of error code descriptions
V1Api getProductDescriptions GET /api/V1/GetProductDescriptions Get localized strings for products
V1Api getProducts GET /api/V1/GetProducts Get a list of products that can be used in SendTransfer
V1Api getPromotionDescriptions GET /api/V1/GetPromotionDescriptions Get localized strings for promotions
V1Api getPromotions GET /api/V1/GetPromotions Get a list of promotions
V1Api getProviderStatus GET /api/V1/GetProviderStatus Get the current status of product providers
V1Api getProviders GET /api/V1/GetProviders Get a list of product providers available to the agent
V1Api getRegions GET /api/V1/GetRegions Get a list of regions on the system
V1Api listTransferRecords POST /api/V1/ListTransferRecords Query transfers that were submitted to the system
V1Api sendTransfer POST /api/V1/SendTransfer Send a transfer to an account

Documentation For Models

Documentation For Authorization

APIKeyHeader

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

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-03