avaibook / paycomet
Swagger client for paycomet.
Installs: 2 905
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.4 || ^8.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^6.5.8 || ^7.4.5
- guzzlehttp/psr7: ^1.7 || ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.5
- phpunit/phpunit: ^8.0 || ^9.0
This package is not auto-updated.
Last update: 2024-11-18 15:34:24 UTC
README
PAYCOMET API REST for customers.
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 2.88.0
- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen For more information, please visit https://www.paycomet.com
Requirements
PHP 5.5 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"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
:
require_once('/path/to/SwaggerClient-php/vendor/autoload.php');
Tests
To run the unit tests:
composer install
./vendor/bin/phpunit
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); $apiInstance = new Swagger\Client\Api\BalanceApi( // 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() ); $body = new \Swagger\Client\Model\V1BalanceBody(); // \Swagger\Client\Model\V1BalanceBody | $paycomet_api_token = "paycomet_api_token_example"; // string | PAYCOMET API key (Query privilege required) try { $result = $apiInstance->productBalance($body, $paycomet_api_token); print_r($result); } catch (Exception $e) { echo 'Exception when calling BalanceApi->productBalance: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to https://rest.paycomet.com
Documentation For Models
- CardsDeleteBody
- CardsEditBody
- CardsInfoBody
- CardsPhysicalBody
- DccConfirmBody
- InlineResponse200
- InlineResponse2001
- InlineResponse20010
- InlineResponse20011
- InlineResponse20012
- InlineResponse20013
- InlineResponse20014
- InlineResponse20015
- InlineResponse20016
- InlineResponse20016Payment
- InlineResponse20016PaymentHistory
- InlineResponse20016PaymentMerchantData
- InlineResponse20017
- InlineResponse20017Operations
- InlineResponse20018
- InlineResponse20019
- InlineResponse2002
- InlineResponse20020
- InlineResponse20021
- InlineResponse20022
- InlineResponse20022Subscription
- InlineResponse20023
- InlineResponse20024
- InlineResponse20025
- InlineResponse20025Dcc
- InlineResponse20026
- InlineResponse20027
- InlineResponse20027Submerchant
- InlineResponse20028
- InlineResponse20028Submerchant
- InlineResponse20029
- InlineResponse2003
- InlineResponse20030
- InlineResponse20031
- InlineResponse20032
- InlineResponse20032Operations
- InlineResponse20033
- InlineResponse20034
- InlineResponse20035
- InlineResponse20036
- InlineResponse20037
- InlineResponse2004
- InlineResponse2005
- InlineResponse2006
- InlineResponse2007
- InlineResponse2008
- InlineResponse2009
- InlineResponse2009Invoices
- InlineResponse403
- InlineResponse422
- InlineResponse4221
- InlineResponse4222
- InlineResponse4222Error
- InlineResponse4223
- InlineResponse4223Error
- InlineResponse4224
- InlineResponse4224Error
- InlineResponse4225
- InlineResponse4225Error
- InlineResponse4226
- InlineResponse4226Error
- InlineResponse422Error
- IpRemoteBody
- IvrGetsessionBody
- IvrSessioncancelBody
- IvrSessionstateBody
- LaunchpadAuthorizationBody
- LaunchpadPreauthorizationBody
- LaunchpadSubscriptionBody
- MarketplaceSplittransferBody
- MarketplaceSplittransferreversalBody
- MarketplaceTransferBody
- MarketplaceTransferreversalBody
- OrderEditBody
- OrderInfoBody
- OrderInfoBody1
- OrderRefundBody
- OrderRemoveBody
- PaymentsDccBody
- PaymentsPreauthBody
- PaymentsPreauthrtokenBody
- PaymentsRtokenBody
- PaymentsSearchBody
- PhysicalEditBody
- PreauthCancelBody
- PreauthConfirmBody
- SepaAdddocumentBody
- SepaCancelBody
- SepaCheckcustomerBody
- SepaCheckdocumentBody
- SepaEnrolecustomerBody
- SepaOperationsBody
- V1BalanceBody
- V1CardsBody
- V1ErrorsBody
- V1ExchangeBody
- V1FormBody
- V1HeartbeatBody
- V1InvoicesBody
- V1IpBody
- V1MethodsBody
- V1PaymentsBody
- V1SubscriptionBody
- V1TokenBody
- V1cardsSecureAuthentication
- V1formPayment
- V1formPaymentMerchantData
- V1formPaymentMerchantDataAcctInfo
- V1formPaymentMerchantDataAft
- V1formPaymentMerchantDataBilling
- V1formPaymentMerchantDataCustomer
- V1formPaymentMerchantDataCustomerHomePhone
- V1formPaymentMerchantDataCustomerMobilePhone
- V1formPaymentMerchantDataCustomerWorkPhone
- V1formPaymentMerchantDataMerchantRiskIndicator
- V1formPaymentMerchantDataShipping
- V1formPaymentMerchantDataShoppingCart
- V1formPaymentMerchantDataThreeDSRequestorAuthenticationInfo
- V1formSubscription
- V1invoicesPayment
- V1launchpadauthorizationMerchantData
- V1launchpadauthorizationMerchantDataCustomer
- V1launchpadsubscriptionMerchantData
- V1launchpadsubscriptionMerchantDataShipping
- V1marketplacesplittransferPayment
- V1marketplacesplittransferSubmerchant
- V1marketplacesplittransferreversalPayment
- V1marketplacesplittransferreversalSubmerchant
- V1marketplacetransferPayment
- V1marketplacetransferreversalSubmerchant
- V1paymentsPayment
- V1paymentsdccPayment
- V1paymentsorderdccconfirmDcc
- V1paymentsorderdccconfirmPayment
- V1paymentsorderinfoPayment
- V1paymentsorderpreauthcancelPayment
- V1paymentsorderpreauthconfirmPayment
- V1paymentsorderrefundPayment
- V1paymentspreauthPayment
- V1paymentspreauthPaymentMerchantData
- V1paymentsrtokenPayment
- V1sepaoperationsOperations
- V1subscriptionPayment
- V1subscriptionSubscription
- V1subscriptionordereditPayment
- V1subscriptionordereditSubscription
- V1subscriptionorderinfoPayment
- V1subscriptionorderremovePayment
Documentation For Authorization
All endpoints do not require authorization.