Download the PHP package plural-pinelabs/pinelabs-php without Composer

On this page you can find all versions of the php package plural-pinelabs/pinelabs-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pinelabs-php

Pinelabs

Complete Pine Labs Payment Gateway API for accepting payments, managing orders, refunds, subscriptions, payouts, and more.

Authentication

All endpoints (except /api/auth/v1/token) require a Bearer token in the Authorization header. Generate a token using your client_id and client_secret via the Authentication endpoint.

Base URLs

For more information, please visit https://developers.pluralonline.com.

Installation & Usage

Requirements

PHP 8.1 and later.

Composer

To install the bindings via Composer, add the following to composer.json:

Then run composer install

Manual Installation

Download the files and include autoload.php:

Getting Started

Please follow the installation procedure and then run the following:

API Endpoints

All URIs are relative to https://api.pluralpay.in

Class Method HTTP request Description
AuthenticationApi generateToken POST /api/auth/v1/token Generate Access Token
CheckoutLinksApi createPaymentLink POST /api/pay/v1/payment-links Create Payment Link
CustomersApi createCustomer POST /api/pay/v1/customers Create Customer
CustomersApi getCustomer GET /api/pay/v1/customers/{customer_id} Get Customer
CustomersApi updateCustomer PUT /api/pay/v1/customers/{customer_id} Update Customer
OffersEMIApi discoverOffers POST /api/pay/v1/offers/discover Discover Offers
OffersEMIApi validateOffer POST /api/pay/v1/offers/validate Validate Offer
OrdersApi cancelOrder POST /api/pay/v1/orders/{order_id}/cancel Cancel Order
OrdersApi captureOrder POST /api/pay/v1/orders/{order_id}/capture Capture Order
OrdersApi createOrder POST /api/pay/v1/orders Create Order
OrdersApi getOrder GET /api/pay/v1/orders/{order_id} Get Order
OrdersApi getOrderByRef GET /api/pay/v1/orders Get Order by Merchant Ref
PaymentsApi createPayment POST /api/pay/v1/orders/{order_id}/payments Process Payment
PaymentsApi verifyVPA POST /api/pay/v1/orders/{order_id}/payments/verify-vpa Verify VPA
PayoutsApi bulkPayout POST /api/pay/v1/payouts/bulk Bulk Payouts
PayoutsApi createPayout POST /api/pay/v1/payouts Create Payout
PayoutsApi getPayout GET /api/pay/v1/payouts/{payout_id} Get Payout
PayoutsApi getPayoutBalance GET /api/pay/v1/payouts/balance Account Balance
RefundsApi createRefund POST /api/pay/v1/orders/{order_id}/refunds Create Refund
RefundsApi getRefunds GET /api/pay/v1/orders/{order_id}/refunds Get Refunds
SettlementsApi getSettlementByUTR GET /api/pay/v1/settlements/{utr} Get Settlement by UTR
SettlementsApi getSettlements GET /api/pay/v1/settlements Get Settlements
SplitSettlementsApi cancelSplit POST /api/pay/v1/splits/{split_id}/cancel Cancel Split
SplitSettlementsApi createSplit POST /api/pay/v1/splits Create Split
SplitSettlementsApi releaseSplit POST /api/pay/v1/splits/{split_id}/release Release Split
SubscriptionsApi cancelSubscription POST /api/pay/v1/subscriptions/{subscription_id}/cancel Cancel Subscription
SubscriptionsApi createPlan POST /api/pay/v1/plans Create Plan
SubscriptionsApi createSubscription POST /api/pay/v1/subscriptions Create Subscription
SubscriptionsApi deletePlan DELETE /api/pay/v1/plans/{plan_id} Delete Plan
SubscriptionsApi getPlan GET /api/pay/v1/plans/{plan_id} Get Plan
SubscriptionsApi getPlans GET /api/pay/v1/plans Get Plans
SubscriptionsApi getSubscription GET /api/pay/v1/subscriptions/{subscription_id} Get Subscription
SubscriptionsApi getSubscriptions GET /api/pay/v1/subscriptions Get Subscriptions
SubscriptionsApi pauseSubscription POST /api/pay/v1/subscriptions/{subscription_id}/pause Pause Subscription
SubscriptionsApi resumeSubscription POST /api/pay/v1/subscriptions/{subscription_id}/resume Resume Subscription
SubscriptionsApi updatePlan PUT /api/pay/v1/plans/{plan_id} Update Plan

Models

Authorization

Authentication schemes defined for the API:

BearerAuth

Tests

To run the tests, use:

Author

[email protected]

About this package

This PHP package is automatically generated by the OpenAPI Generator project:


All versions of pinelabs-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package plural-pinelabs/pinelabs-php contains the following files

Loading the files please wait ...