Download the PHP package mt-apimatic/mt-sdk without Composer
On this page you can find all versions of the php package mt-apimatic/mt-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mt-apimatic/mt-sdk
More information about mt-apimatic/mt-sdk
Files in mt-apimatic/mt-sdk
Package mt-sdk
Short Description MT SDKs APIMatic
License MIT
Homepage https://www.moderntreasury.com/?utm_source=google&utm_medium=ppc&utm_campaign=&utm_content=169294787899&utm_term=&hsa_acc=9452648776&hsa_cam=21819247407&hsa_grp=169294787899&hsa_ad=717856558505&hsa_src=g&hsa_tgt=kwl-3500001&hsa_kw=&hsa_mt=a&hsa_net=adword
Informations about the package mt-sdk
Getting Started with Modern Treasury
Introduction
The Modern Treasury REST API. Please see https://docs.moderntreasury.com for more details.
Install the Package
Run the following command to install the package and automatically add the dependency to your composer.json file:
Or add it to the composer.json file manually as given below:
You can also view the package at: https://packagist.org/packages/mt-apimatic/mt-sdk#0.0.4
Initialize the API Client
Note: Documentation for the client can be found here.
The following parameters are configurable for the API Client:
| Parameter | Type | Description |
|---|---|---|
| environment | Environment |
The API environment. Default: Environment.PRODUCTION |
| timeout | int |
Timeout for API calls in seconds. Default: 30 |
| enableRetries | bool |
Whether to enable retries and backoff feature. Default: false |
| numberOfRetries | int |
The number of retries to make. Default: 0 |
| retryInterval | float |
The retry time interval between the endpoint calls. Default: 1 |
| backOffFactor | float |
Exponential backoff factor to increase interval between retries. Default: 2 |
| maximumRetryWaitTime | int |
The maximum wait time in seconds for overall retrying requests. Default: 0 |
| retryOnTimeout | bool |
Whether to retry on request timeout. Default: true |
| httpStatusCodesToRetry | array |
Http status codes to retry against. Default: 408, 413, 429, 500, 502, 503, 504, 521, 522, 524 |
| httpMethodsToRetry | array |
Http methods to retry against. Default: 'GET', 'PUT' |
| loggingConfiguration | LoggingConfigurationBuilder |
Represents the logging configurations for API calls |
| proxyConfiguration | ProxyConfigurationBuilder |
Represents the proxy configurations for API calls |
| basicAuthCredentials | BasicAuthCredentials |
The Credentials Setter for Basic Authentication |
The API client can be initialized as follows:
Environments
The SDK can be configured to use a different environment for making API calls. Available environments are:
Fields
| Name | Description |
|---|---|
| PRODUCTION | Default |
| ENVIRONMENT2 | - |
Authorization
This API uses the following authentication schemes.
List of APIs
- Account Detail
- Balance Report
- Connection
- Counterparty
- Document
- Event
- Expected Payment
- External Account
- Incoming Payment Detail
- Internal Account
- Invoice Line Item
- Invoice
- Ledger Account Category
- Ledger Account Payout
- Ledger Account Statement
- Ledger Account
- Ledger Entry
- Ledger Event Handler
- Ledger Transaction
- Ledgerable Event
- Ledger
- Line Item
- Paper Item
- Payment Order
- Payment Reference
- Ping
- Return
- Reversal
- Routing Detail
- Transaction Line Item
- Transaction
- Validation
- Virtual Account
- Account Collection Flow
- Payment Flow
SDK Infrastructure
Configuration
- ProxyConfigurationBuilder
- LoggingConfigurationBuilder
- RequestLoggingConfigurationBuilder
- ResponseLoggingConfigurationBuilder
HTTP
Utilities
All versions of mt-sdk with dependencies
ext-json Version *
ext-curl Version *
apimatic/unirest-php Version ^4.0.6
apimatic/core-interfaces Version ~0.1.5
apimatic/core Version ~0.3.17