{"id":14986749,"url":"https://github.com/hraph/paygreenapiphp","last_synced_at":"2025-07-20T20:31:17.425Z","repository":{"id":46863458,"uuid":"309474939","full_name":"Hraph/PaygreenApiPHP","owner":"Hraph","description":"PHP SDK for Paygreen.io payment provider","archived":false,"fork":false,"pushed_at":"2021-11-12T16:13:12.000Z","size":617,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-14T13:56:23.321Z","etag":null,"topics":["api","open-api","paygreen","payment-gateway"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hraph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-02T19:32:50.000Z","updated_at":"2021-11-12T16:13:15.000Z","dependencies_parsed_at":"2022-08-27T03:23:38.730Z","dependency_job_id":null,"html_url":"https://github.com/Hraph/PaygreenApiPHP","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hraph%2FPaygreenApiPHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hraph%2FPaygreenApiPHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hraph%2FPaygreenApiPHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hraph%2FPaygreenApiPHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hraph","download_url":"https://codeload.github.com/Hraph/PaygreenApiPHP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226833628,"owners_count":17689365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","open-api","paygreen","payment-gateway"],"created_at":"2024-09-24T14:13:27.994Z","updated_at":"2024-11-27T23:22:02.987Z","avatar_url":"https://github.com/Hraph.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paygreen.io API for PHP\nPHP SDK for Paygreen.io payment provider generated using OpenAPI Generator\n\n\nSpecifications for Paygreen.io API are available [here](https://paygreen.fr/documentation/api-documentation-categorie?cat=all)\n\n## Requirements\n\nPHP 7.1 and later\n\n## Installation \u0026 Usage\n\n### Composer\n\nTo install via [Composer](http://getcomposer.org/):\n\nRun `composer require hraph/paygreen-api-php`\n\n### Manual Installation\n\nDownload the files and include `autoload.php`:\n\n```php\n    require_once('/path/to/paygreen-api-php/vendor/autoload.php');\n```\n\n## Tests\n\nTo run the unit tests:\n\n```bash\ncomposer install\n./vendor/bin/phpunit\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```php\n\u003c?php\nrequire_once(__DIR__ . '/vendor/autoload.php');\n\n\n\n$apiInstance = new Hraph\\PaygreenApi\\Api\\AuthentificationOAuthApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client()\n);\n$client_id = 'client_id_example'; // string | Variable OAuth contenant `accessPublic`. Exemple\u0026nbsp;: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n$grant_type = 'grant_type_example'; // string | Variable OAuth contenant la valeur du \\\"grant type\\\" OAuth (valeur: authorization_code)\n$code = 'code_example'; // string | Variable OAuth contenant le code generate après l'appel authorize OAuth\n\ntry {\n    $result = $apiInstance-\u003eapiAuthAccessTokenPost($client_id, $grant_type, $code);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling AuthentificationOAuthApi-\u003eapiAuthAccessTokenPost: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n?\u003e\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://paygreen.fr*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*AuthentificationOAuthApi* | [**apiAuthAccessTokenPost**](docs/Api/AuthentificationOAuthApi.md#apiauthaccesstokenpost) | **POST** /api/auth/accessToken | Contrôle OAuth\n*AuthentificationOAuthApi* | [**apiAuthAuthorizeGet**](docs/Api/AuthentificationOAuthApi.md#apiauthauthorizeget) | **GET** /api/auth/authorize | Affichage de la page d\u0026#39;authentification PayGreen\n*AuthentificationOAuthApi* | [**apiAuthPost**](docs/Api/AuthentificationOAuthApi.md#apiauthpost) | **POST** /api/auth/ | Création d\u0026#39;un token d\u0026#39;accès au protocole OAuth\n*GestionDeLaBoutiqueApi* | [**apiIdentifiantShopGet**](docs/Api/GestionDeLaBoutiqueApi.md#apiidentifiantshopget) | **GET** /api/{identifiant}/shop | Afficher la boutique\n*GestionDeLaBoutiqueApi* | [**apiIdentifiantShopPatch**](docs/Api/GestionDeLaBoutiqueApi.md#apiidentifiantshoppatch) | **PATCH** /api/{identifiant}/shop | Création et activation d\u0026#39;un compte\n*GestionDeLaBoutiqueApi* | [**apiIdentifiantShopPost**](docs/Api/GestionDeLaBoutiqueApi.md#apiidentifiantshoppost) | **POST** /api/{identifiant}/shop | Multi-boutiques : création d\u0026#39;une boutique\n*GestionDeLaBoutiqueApi* | [**apiIdentifiantShopPut**](docs/Api/GestionDeLaBoutiqueApi.md#apiidentifiantshopput) | **PUT** /api/{identifiant}/shop | Mettre à jour la boutique\n*GestionDeLaBoutiqueApi* | [**apiIdentifiantShopShopIdGet**](docs/Api/GestionDeLaBoutiqueApi.md#apiidentifiantshopshopidget) | **GET** /api/{identifiant}/shop/{shopId} | Multi-boutiques : afficher une boutique\n*GestionDeLaBoutiqueApi* | [**apiIdentifiantShopShopIdPut**](docs/Api/GestionDeLaBoutiqueApi.md#apiidentifiantshopshopidput) | **PUT** /api/{identifiant}/shop/{shopId} | Multi-boutiques : mettre à jour une boutique\n*GestionDeLadresseApi* | [**apiIdentifiantAddressGet**](docs/Api/GestionDeLadresseApi.md#apiidentifiantaddressget) | **GET** /api/{identifiant}/address | Liste des adresses\n*GestionDeLadresseApi* | [**apiIdentifiantAddressPost**](docs/Api/GestionDeLadresseApi.md#apiidentifiantaddresspost) | **POST** /api/{identifiant}/address | Créer une adresse\n*GestionDeMesBoutiquesApi* | [**apiIdentifiantShopsGet**](docs/Api/GestionDeMesBoutiquesApi.md#apiidentifiantshopsget) | **GET** /api/{identifiant}/shops | Liste des boutiques\n*GestionDeMesRIBApi* | [**apiIdentifiantBankGet**](docs/Api/GestionDeMesRIBApi.md#apiidentifiantbankget) | **GET** /api/{identifiant}/bank | Afficher mon RIB\n*GestionDeMesRIBApi* | [**apiIdentifiantBankPost**](docs/Api/GestionDeMesRIBApi.md#apiidentifiantbankpost) | **POST** /api/{identifiant}/bank | Création d\u0026#39;un RIB\n*GestionDesDocumentsKYCsApi* | [**apiIdentifiantDocumentsGet**](docs/Api/GestionDesDocumentsKYCsApi.md#apiidentifiantdocumentsget) | **GET** /api/{identifiant}/documents | Liste des documents\n*GestionDesDocumentsKYCsApi* | [**apiIdentifiantDocumentsIdDelete**](docs/Api/GestionDesDocumentsKYCsApi.md#apiidentifiantdocumentsiddelete) | **DELETE** /api/{identifiant}/documents/{id} | Supprimer un document\n*GestionDesDocumentsKYCsApi* | [**apiIdentifiantDocumentsIdGet**](docs/Api/GestionDesDocumentsKYCsApi.md#apiidentifiantdocumentsidget) | **GET** /api/{identifiant}/documents/{id} | Obtenir un document\n*GestionDesDocumentsKYCsApi* | [**apiIdentifiantDocumentsPost**](docs/Api/GestionDesDocumentsKYCsApi.md#apiidentifiantdocumentspost) | **POST** /api/{identifiant}/documents | Envoyer des documents\n*GestionDesPropritairesApi* | [**apiIdentifiantShareholderGet**](docs/Api/GestionDesPropritairesApi.md#apiidentifiantshareholderget) | **GET** /api/{identifiant}/shareholder | Liste des propriétaires\n*GestionDesPropritairesApi* | [**apiIdentifiantShareholderPost**](docs/Api/GestionDesPropritairesApi.md#apiidentifiantshareholderpost) | **POST** /api/{identifiant}/shareholder | Créer un propriétaire\n*GestionDuComptePrincipalApi* | [**apiIdentifiantAccountGet**](docs/Api/GestionDuComptePrincipalApi.md#apiidentifiantaccountget) | **GET** /api/{identifiant}/account | Afficher le compte principal\n*GestionDuComptePrincipalApi* | [**apiIdentifiantAccountPut**](docs/Api/GestionDuComptePrincipalApi.md#apiidentifiantaccountput) | **PUT** /api/{identifiant}/account | Met à jour le compte principal\n*GestionDuneAssociationApi* | [**apiIdentifiantSolidarityGet**](docs/Api/GestionDuneAssociationApi.md#apiidentifiantsolidarityget) | **GET** /api/{identifiant}/solidarity | Liste des associations\n*LempreinteDeCarteApi* | [**apiIdentifiantPayinsCardprintGet**](docs/Api/LempreinteDeCarteApi.md#apiidentifiantpayinscardprintget) | **GET** /api/{identifiant}/payins/cardprint | Liste des empreintes de carte\n*LempreinteDeCarteApi* | [**apiIdentifiantPayinsCardprintIdDelete**](docs/Api/LempreinteDeCarteApi.md#apiidentifiantpayinscardprintiddelete) | **DELETE** /api/{identifiant}/payins/cardprint/{id} | Supprimer une empreinte\n*LempreinteDeCarteApi* | [**apiIdentifiantPayinsCardprintIdGet**](docs/Api/LempreinteDeCarteApi.md#apiidentifiantpayinscardprintidget) | **GET** /api/{identifiant}/payins/cardprint/{id} | Détails\n*LempreinteDeCarteApi* | [**apiIdentifiantPayinsCardprintPost**](docs/Api/LempreinteDeCarteApi.md#apiidentifiantpayinscardprintpost) | **POST** /api/{identifiant}/payins/cardprint | Création d\u0026#39;une empreinte de carte\n*LesDonsApi* | [**apiIdentifiantSolidarityIdDelete**](docs/Api/LesDonsApi.md#apiidentifiantsolidarityiddelete) | **DELETE** /api/{identifiant}/solidarity/{id} | Supprimer un don\n*LesDonsApi* | [**apiIdentifiantSolidarityIdGet**](docs/Api/LesDonsApi.md#apiidentifiantsolidarityidget) | **GET** /api/{identifiant}/solidarity/{id} | Afficher un don\n*LesDonsApi* | [**apiIdentifiantSolidarityIdPatch**](docs/Api/LesDonsApi.md#apiidentifiantsolidarityidpatch) | **PATCH** /api/{identifiant}/solidarity/{id} | Créer un don\n*LesMoyensDePaiementApi* | [**apiIdentifiantPaymenttypeGet**](docs/Api/LesMoyensDePaiementApi.md#apiidentifiantpaymenttypeget) | **GET** /api/{identifiant}/paymenttype | Liste des moyens de paiement\n*LesTransactionsApi* | [**apiIdentifiantPayinsTransactionCancelPost**](docs/Api/LesTransactionsApi.md#apiidentifiantpayinstransactioncancelpost) | **POST** /api/{identifiant}/payins/transaction/cancel | Annulation\n*LesTransactionsApi* | [**apiIdentifiantPayinsTransactionCashPost**](docs/Api/LesTransactionsApi.md#apiidentifiantpayinstransactioncashpost) | **POST** /api/{identifiant}/payins/transaction/cash | Paiement comptant\n*LesTransactionsApi* | [**apiIdentifiantPayinsTransactionIdDelete**](docs/Api/LesTransactionsApi.md#apiidentifiantpayinstransactioniddelete) | **DELETE** /api/{identifiant}/payins/transaction/{id} | Remboursement\n*LesTransactionsApi* | [**apiIdentifiantPayinsTransactionIdGet**](docs/Api/LesTransactionsApi.md#apiidentifiantpayinstransactionidget) | **GET** /api/{identifiant}/payins/transaction/{id} | Détails\n*LesTransactionsApi* | [**apiIdentifiantPayinsTransactionIdPatch**](docs/Api/LesTransactionsApi.md#apiidentifiantpayinstransactionidpatch) | **PATCH** /api/{identifiant}/payins/transaction/{id} | Modification du montant\n*LesTransactionsApi* | [**apiIdentifiantPayinsTransactionIdPut**](docs/Api/LesTransactionsApi.md#apiidentifiantpayinstransactionidput) | **PUT** /api/{identifiant}/payins/transaction/{id} | Confirmer une transaction\n*LesTransactionsApi* | [**apiIdentifiantPayinsTransactionSubscriptionPost**](docs/Api/LesTransactionsApi.md#apiidentifiantpayinstransactionsubscriptionpost) | **POST** /api/{identifiant}/payins/transaction/subscription | Paiement abonnement\n*LesTransactionsApi* | [**apiIdentifiantPayinsTransactionTokenizePost**](docs/Api/LesTransactionsApi.md#apiidentifiantpayinstransactiontokenizepost) | **POST** /api/{identifiant}/payins/transaction/tokenize | Paiement avec confirmation\n*LesTransactionsApi* | [**apiIdentifiantPayinsTransactionXtimePost**](docs/Api/LesTransactionsApi.md#apiidentifiantpayinstransactionxtimepost) | **POST** /api/{identifiant}/payins/transaction/xtime | Paiement en plusieurs fois\n*LesVirementsApi* | [**apiIdentifiantPayoutTransferGet**](docs/Api/LesVirementsApi.md#apiidentifiantpayouttransferget) | **GET** /api/{identifiant}/payout/transfer | Liste des virements\n*LesVirementsApi* | [**apiIdentifiantPayoutTransferIdGet**](docs/Api/LesVirementsApi.md#apiidentifiantpayouttransferidget) | **GET** /api/{identifiant}/payout/transfer/{id} | Détails\n*LesVirementsApi* | [**apiIdentifiantPayoutTransferPost**](docs/Api/LesVirementsApi.md#apiidentifiantpayouttransferpost) | **POST** /api/{identifiant}/payout/transfer | Créer un virement\n*PaiementMultidestinataireApi* | [**apiIdentifiantPayinsMultiCashPost**](docs/Api/PaiementMultidestinataireApi.md#apiidentifiantpayinsmulticashpost) | **POST** /api/{identifiant}/payins/multi/cash | Créer un paiement multidestinataires\n*RechercheApi* | [**apiIdentifiantPayinsSearchGet**](docs/Api/RechercheApi.md#apiidentifiantpayinssearchget) | **GET** /api/{identifiant}/payins/search | Liste des transactions\n*RechercheApi* | [**apiIdentifiantPayinsSearchIdGet**](docs/Api/RechercheApi.md#apiidentifiantpayinssearchidget) | **GET** /api/{identifiant}/payins/search/{id} | Plus d\u0026#39;informations\n\n\n## Documentation For Models\n\n - [Account](docs/Model/Account.md)\n - [Address](docs/Model/Address.md)\n - [Association](docs/Model/Association.md)\n - [AuthAccessToken](docs/Model/AuthAccessToken.md)\n - [CardPrint](docs/Model/CardPrint.md)\n - [ExecuteTransaction](docs/Model/ExecuteTransaction.md)\n - [InlineResponse200](docs/Model/InlineResponse200.md)\n - [InlineResponse2001](docs/Model/InlineResponse2001.md)\n - [InlineResponse20010](docs/Model/InlineResponse20010.md)\n - [InlineResponse20011](docs/Model/InlineResponse20011.md)\n - [InlineResponse20012](docs/Model/InlineResponse20012.md)\n - [InlineResponse20013](docs/Model/InlineResponse20013.md)\n - [InlineResponse2002](docs/Model/InlineResponse2002.md)\n - [InlineResponse2003](docs/Model/InlineResponse2003.md)\n - [InlineResponse2004](docs/Model/InlineResponse2004.md)\n - [InlineResponse2005](docs/Model/InlineResponse2005.md)\n - [InlineResponse2006](docs/Model/InlineResponse2006.md)\n - [InlineResponse2007](docs/Model/InlineResponse2007.md)\n - [InlineResponse2008](docs/Model/InlineResponse2008.md)\n - [InlineResponse2009](docs/Model/InlineResponse2009.md)\n - [Kyc](docs/Model/Kyc.md)\n - [PartnerConfig](docs/Model/PartnerConfig.md)\n - [PatchAmount](docs/Model/PatchAmount.md)\n - [Payins](docs/Model/Payins.md)\n - [PayinsBuyer](docs/Model/PayinsBuyer.md)\n - [PayinsShippingAddress](docs/Model/PayinsShippingAddress.md)\n - [PayinsBillingAddress](docs/Model/PayinsBillingAddress.md)\n - [PayinsCard](docs/Model/PayinsCard.md)\n - [PayinsMulti](docs/Model/PayinsMulti.md)\n - [PayinsRecc](docs/Model/PayinsRecc.md)\n - [PayinsReccOrderDetails](docs/Model/PayinsReccOrderDetails.md)\n - [Rib](docs/Model/Rib.md)\n - [Shareholder](docs/Model/Shareholder.md)\n - [Shop](docs/Model/Shop.md)\n - [ShopPatch](docs/Model/ShopPatch.md)\n - [ShopWithVad](docs/Model/ShopWithVad.md)\n - [Solidarity](docs/Model/Solidarity.md)\n - [Transaction](docs/Model/Transaction.md)\n - [TransactionBuyer](docs/Model/TransactionBuyer.md)\n - [TransactionShippingAddress](docs/Model/TransactionShippingAddress.md)\n - [TransactionBillingAddress](docs/Model/TransactionBillingAddress.md)\n - [TransactionCard](docs/Model/TransactionCard.md)\n - [TransactionDonation](docs/Model/TransactionDonation.md)\n - [TransactionResult](docs/Model/TransactionResult.md)\n - [TransactionSchedules](docs/Model/TransactionSchedules.md)\n - [Transfer](docs/Model/Transfer.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhraph%2Fpaygreenapiphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhraph%2Fpaygreenapiphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhraph%2Fpaygreenapiphp/lists"}