{"repo":"gopaycommunity/gopay-php-api","free":true,"listed":false,"github":"https://github.com/gopaycommunity/gopay-php-api","clone":"git clone https://github.com/gopaycommunity/gopay-php-api.git","description":"GoPay's PHP SDK for Payments REST API","language":"PHP","stars":86,"topics":["gopay","php","api","sdk"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"GoPay's PHP SDK for Payments REST API Requirements - PHP = 8.1 - enabled extension curl , json Installation The simplest way to install SDK is to use Composer: Basic usage Configuration Required fields Required field Data type Documentation -------------- --------- ----------- goid string default GoPay account used in createPayment if target is not specified clientId string clientSecret string gatewayUrl string test or production environment? Optional fields Optional field Data type Default value Documentation -------------- --------- ------------- ------------- scope string GoPay\\Definition\\TokenScope::ALL language string GoPay\\Definition\\Language::ENGLISH language used in createPayment if lang is not specified + used for localization of errors timeout int 30 Browser timeout in seconds Available methods API SDK method --- ---------- Create a payment $gopay- createPayment(array $payment) Get status of a payment $gopay- getStatus($id) Refund a payment $gopay- refundPayment($id, $amount) Create a recurring payment $gopay- createRecurrence($id, array $payment) Cancel a recurring payment $gopay- voidRecurrence($id) Capture a preauthorized payment $gopay- captureAuthorization($id) Capture a preauthorized payment partially $gopay- captureAuthorizationPartial($id, array $capturePayment) Void a preauthorized payment $gopay- voidAuthorization($id) Get payment card details $gopay- getCardDetails($cardId) Delete a saved card $gopay- deleteCard($cardId) Get allowed payment methods for a ","default_branch":null,"files":null,"tree":[],"storefront":"/r/gopaycommunity","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gopaycommunity/gopay-php-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}