This PHP package was generated using the Swagger Codegen project:
- API version: V1
- Build package: io.swagger.codegen.languages.PhpClientCodegen
- PHP 5.5 and later
composer require parenthesis/dingconnect-api-php
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Parenthesis\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 \Parenthesis\DingConnect\Model\CancellationRequest()); // \Parenthesis\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;
}
?>
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 |
- AccountLookup
- CancelTransfersResponse
- CancellationRequest
- Country
- Currency
- Error
- ErrorDescription
- EstimatePricesResponse
- EstimatedPrice
- EstimationRequest
- GetAccountLookupResponse
- GetBalanceResponse
- GetCountriesResponse
- GetCurrenciesResponse
- GetErrorCodeDescriptionsResponse
- GetProductDescriptionsResponse
- GetProductsResponse
- GetPromotionDescriptionsResponse
- GetPromotionsResponse
- GetProviderStatusResponse
- GetProvidersResponse
- GetRegionsResponse
- IApiResponse
- InternationalDialingInfo
- ListTransferRecordsRequest
- ListTransferRecordsResponse
- LocalizedProductDescription
- LocalizedPromotionDescription
- Price
- Product
- Promotion
- Provider
- ProviderStatus
- Region
- SendTransferRequest
- SendTransferResponse
- Setting
- SettingDefinition
- TransferId
- TransferRecord
- TransferRecordWithErrorCodes
- TransferWithState
- Type: API key
- API key parameter name: api_key
- Location: HTTP header