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.
Download plural-pinelabs/pinelabs-php
More information about plural-pinelabs/pinelabs-php
Files in plural-pinelabs/pinelabs-php
Package pinelabs-php
Short Description 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 - **Production:** `https://api.pluralpay.in` - **Sandbox:** `https://pluraluat.v2.pinepg.in`
License unlicense
Homepage https://openapi-generator.tech
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
- Production:
https://api.pluralpay.in - Sandbox:
https://pluraluat.v2.pinepg.in
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
- Amount
- BNPLRequest
- BNPLRequestPaymentMethod
- BNPLRequestPaymentMethodBnpl
- BulkPayout200Response
- BulkPayoutRequest
- CaptureRequest
- CardPaymentRequest
- CardPaymentRequestPaymentMethod
- CardPaymentRequestPaymentMethodCard
- CreateCustomerRequest
- CreateOrderRequest
- CreateOrderRequestPurchaseDetails
- CreateOrderRequestPurchaseDetailsCustomer
- CreatePaymentLinkRequest
- CreatePaymentLinkRequestNotify
- CreatePaymentRequest
- CreatePayoutRequest
- CreatePayoutRequestBeneficiary
- CreatePlanRequest
- CreateRefundRequest
- CreateSplit200Response
- CreateSplitRequest
- CreateSplitRequestSplitsInner
- CreateSubscriptionRequest
- Customer
- CustomerTokensInner
- DiscoverOffers200Response
- DiscoverOffersRequest
- Error
- GetPlans200Response
- GetRefunds200Response
- GetSettlements200Response
- GetSettlements200ResponsePagination
- GetSubscriptions200Response
- NetbankingRequest
- NetbankingRequestPaymentMethod
- NetbankingRequestPaymentMethodNetbanking
- Order
- OrderStatus
- Payment
- PaymentLink
- Payout
- PayoutBalance
- Plan
- Refund
- Settlement
- Subscription
- SubscriptionBillingHistoryInner
- TokenResponse
- UPICollectRequest
- UPICollectRequestPaymentMethod
- UPICollectRequestPaymentMethodUpi
- UPIIntentRequest
- UPIIntentRequestPaymentMethod
- UPIIntentRequestPaymentMethodUpi
- UPIQRRequest
- UPIQRRequestPaymentMethod
- UPIQRRequestPaymentMethodUpi
- UpdatePlanRequest
- ValidateOffer200Response
- ValidateOfferRequest
- VerifyVPA200Response
- VerifyVPARequest
- WalletRequest
- WalletRequestPaymentMethod
- WalletRequestPaymentMethodWallet
Authorization
Authentication schemes defined for the API:
BearerAuth
- Type: Bearer authentication (JWT)
Tests
To run the tests, use:
Author
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
1.0.0- Package version:
0.0.0 - Generator version:
7.22.0
- Package version:
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen
All versions of pinelabs-php with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0