New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

adnedelcu/reepay-php-api

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adnedelcu/reepay-php-api

Source
Packagist
This package is abandoned and is no longer maintained.
The author recommends using oscar-team/reepay-php-api instead.
This version has been yanked by its maintainers and should not be used.
Version
1.0.31
Version published
Total downloads
222K
Maintainers
1
Created
Source

reepay-php-api

REST API to manage Reepay resources

This PHP package is automatically generated by the Swagger Codegen project:

  • API version: 1
  • Build package: io.swagger.codegen.languages.PhpClientCodegen

About Reepay (by reepay)

Reepay is a payment gateway as well as a subscription billing platform for multiple web shops and merchants online. Reepay also is an acquirer for VISA and Mastercard.

This is an unofficial repo done by enthusiasts, we highly appreciate the work and effort going in to this.

Requirements

PHP 5.4.0 and later

Installation & Usage

Composer

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

{
  "require": {
    "oscar-team/reepay-php-api": "dev-master"
  }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

    require_once('/path/to/code/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');

// Configure API key authorization: apiKey
Reepay\Configuration::getDefaultConfiguration()->setApiKey('X-Auth-Token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Reepay\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Auth-Token', 'Bearer');
// Configure HTTP basic authorization: basicAuth
Reepay\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Reepay\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');

$apiInstance = new Reepay\Api\AccountApi();

try {
    $result = $apiInstance->createPrivateKey();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountApi->createPrivateKey: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://api.reepay.com/ except for Session, which is https://checkout-api.reepay.com/.

ClassMethodHTTP requestDescription
AccountApicreatePrivateKeyPOST /v1/account/privkeyCreate private key
AccountApicreatePublicKeyPOST /v1/account/pubkeyCreate public key
AccountApiexpirePrivateKeyPOST /v1/account/privkey/{key}/expireExpire private key
AccountApiexpirePublicKeyPOST /v1/account/pubkey/{key}/expireExpire public key
AccountApigenerateWebhookSecretPOST /v1/account/webhook_settings/secretGenerate new webhook secret
AccountApigetCurrentAccountGET /v1/accountGet account
AccountApigetDiscountSettingsGET /v1/account/discount_settingsGet discount settings
AccountApigetMailSettingsGET /v1/account/mail_settingsGet mail settings
AccountApigetPrivateKeysGET /v1/account/privkeyGet list of private keys
AccountApigetPublicKeysGET /v1/account/pubkeyGet list of public keys
AccountApigetWebhookSettingsGET /v1/account/webhook_settingsGet webhook settings
AccountApiupdateAccountJsonPUT /v1/accountUpdate account
AccountApiupdateDiscountSettingsPUT /v1/account/discount_settingsUpdate discount settings
AccountApiupdateMailSettingsJsonPUT /v1/account/mail_settingsUpdate mail settings
AccountApiupdateWebhookSettingsJsonPUT /v1/account/webhook_settingsUpdate webhook settings
AdditionalCostApicancelAdditionalCostPOST /v1/additional_cost/{handle}/cancelCancel pending additional cost
AdditionalCostApicreateAdditionalCostJsonPOST /v1/additional_costCreate additional cost
AdditionalCostApigetAdditionalCostGET /v1/additional_cost/{handle}Get additional cost
AdditionalCostApigetAdditionalCostsGET /v1/additional_cost/subscription/{handle}Get additional costs for subscription
AgreementApicreateCardGatewayAgreementPOST /v1/agreement/card_gatewayCreate card gateway agreement
AgreementApideleteCardGatewayAgreementDELETE /v1/agreement/card_gateway/{id}Delete card gateway agreement
AgreementApidisableCardGatewayAgreementPOST /v1/agreement/card_gateway/{id}/disableDisable card gateway agreement
AgreementApienableCardGatewayAgreementPOST /v1/agreement/card_gateway/{id}/enableEnable card gateway agreement
AgreementApigetCardGatewayAgreementGET /v1/agreement/card_gateway/{id}Get card gateway agreement
AgreementApigetCardGatewayAgreementsGET /v1/agreement/card_gatewayGet all card gateway agreements
AgreementApiupdateCardGatewayAgreementPUT /v1/agreement/card_gateway/{id}Update card gateway agreement
AuthenticateApiloginPOST /v1/authenticate/loginUser login
AuthenticateApirenewPOST /v1/authenticate/renewRenew user login
AuthenticateApiverifyAuthenticationGET /v1/authenticate/verifyVerify authentication
ChargeApicancelChargePOST /v1/charge/{handle}/cancelCancel charge
ChargeApicreateChargePOST /v1/chargeCreate charge
ChargeApigetChargeGET /v1/charge/{handle}Get charge
ChargeApigetChargesGET /v1/chargeGet charges
ChargeApisettleChargePOST /v1/charge/{handle}/settleSettle charge
CouponApicreateCouponPOST /v1/couponCreate coupon
CouponApideleteCouponDELETE /v1/coupon/{handle}Delete coupon
CouponApiexpireCouponPOST /v1/coupon/{handle}/expireExpire coupon
CouponApigetCouponGET /v1/coupon/{handle}Get coupon
CouponApigetCouponsGET /v1/couponGet list of coupons
CouponApiupdateCouponPUT /v1/coupon/{handle}Update coupon
CouponApivalidateCodeGET /v1/coupon/code/validateValidate coupon
CreditApicancelCreditPOST /v1/credit/{handle}/cancelCancel credit
CreditApicreateCreditJsonPOST /v1/creditCreate credit
CreditApigetCreditGET /v1/credit/{handle}Get credit
CreditApigetCreditsGET /v1/credit/subscription/{handle}Get credits for subscription
CustomerApiactivatePaymentMethodPOST /v1/customer/{handle}/payment_method/{method_id}/activateActivate payment method
CustomerApiaddCardJsonPOST /v1/customer/{handle}/payment_method/cardAdd card payment method
CustomerApicreateCustomerInvoicePOST /v1/customer/{handle}/invoiceCreate invoice for customer
CustomerApicreateCustomerJsonPOST /v1/customerCreate customer
CustomerApicreateCustomerNoteJsonPOST /v1/customer/{handle}/noteCreate customer note
CustomerApideleteCustomerDELETE /v1/customer/{handle}Delete customer
CustomerApigetCardGET /v1/customer/{handle}/payment_method/card/{id}Get card
CustomerApigetCardDetailsGET /v1/customer/{handle}/payment_method/card/{id}/detailsGet gateway card details
CustomerApigetCustomerGET /v1/customer/{handle}Get customer
CustomerApigetCustomerNotesGET /v1/customer/{handle}/noteGet customer notes
CustomerApigetCustomerPaymentMethodsGET /v1/customer/{handle}/payment_methodGet payment methods
CustomerApigetCustomersGET /v1/customerGet list of customers
CustomerApiimportCardJsonPOST /v1/customer/{handle}/payment_method/card_importImport card payment method
CustomerApiinactivatePaymentMethodPOST /v1/customer/{handle}/payment_method/{method_id}/inactivateInactivate payment method
CustomerApireactivateCardPOST /v1/customer/{handle}/payment_method/{card_id}/card_reactivateReactivate failed card
CustomerApiupdateCustomerJsonPUT /v1/customer/{handle}Update customer
DiscountApicreateDiscountPOST /v1/discountCreate discount
DiscountApideleteDiscountDELETE /v1/discount/{handle}Delete discount
DiscountApigetDiscountGET /v1/discount/{handle}Get discount
DiscountApigetDiscountsGET /v1/discountGet list of discounts
DiscountApiundeleteDiscountPOST /v1/discount/{handle}/undeleteUndelete discount
DunningPlanApicreateDunningPlanJsonPOST /v1/dunning_planCreate dunning plan
DunningPlanApideleteDunningPlanDELETE /v1/dunning_plan/{handle}Delete dunning plan
DunningPlanApigetDunningPlanGET /v1/dunning_plan/{handle}Get dunning plan
DunningPlanApigetDunningPlansGET /v1/dunning_planGet list of dunning plans
DunningPlanApiupdateJsonPUT /v1/dunning_plan/{handle}Update dunning plan
EventApigetEventGET /v1/event/{id}Get event
EventApigetEventsGET /v1/eventGet list of events
InvoiceApicancelAllDunningPendingPOST /v1/invoice/cancel_all_dunning_pending/subscription/{handle}Cancel all dunning and pending
InvoiceApicancelInvoicePOST /v1/invoice/{id}/cancelCancel invoice
InvoiceApicancelSettleLaterPOST /v1/invoice/{id}/settle/cancelCancel settle later
InvoiceApicancelTransactionPOST /v1/invoice/{id}/transaction/{transaction}/cancelCancel transaction
InvoiceApidetachFromSubscriptionPOST /v1/invoice/{id}/detachDetach from subscription
InvoiceApigetInvoiceGET /v1/invoice/{id}Get invoice
InvoiceApigetInvoicesGET /v1/invoiceGet list of invoices
InvoiceApimanualSettlePOST /v1/invoice/{id}/manual_settleManual settle
InvoiceApireactivateInvoicePOST /v1/invoice/{id}/reactivateReactivate invoice
InvoiceApisettlePOST /v1/invoice/{id}/settleSettle
InvoiceApitransactionGET /v1/invoice/{id}/transaction/{transaction}Get transaction
InvoiceApitransactionDetailsGET /v1/invoice/{id}/transaction/{transaction}/detailsGet transaction details
InvoiceApitransactionListGET /v1/invoice/{id}/transactionGet transaction list
MailTemplateApigetSampleGET /v1/mail_template/sampleGet sample data
OrganisationApigetOrganisationGET /v1/organisationGet organisation
OrganisationApiupdatePUT /v1/organisationUpdate organisation
PlanApicreatePlanJsonPOST /v1/planCreate plan
PlanApideletePlanDELETE /v1/plan/{handle}Delete plan
PlanApigetCurrentPlanGET /v1/plan/{handle}/currentGet plan
PlanApigetPlanGET /v1/plan/{handle}/{version}Get plan version
PlanApigetPlansGET /v1/plan/{handle}Get list of plan versions
PlanApigetPlansListGET /v1/planGet list of plans
PlanApisupersedePlanJsonPOST /v1/plan/{handle}Supersede plan
PlanApiupdatePlanJsonPUT /v1/plan/{handle}Update plan
RefundApicreateRefundPOST /v1/refundCreate refund
RefundApigetRefundGET /v1/refund/{id}Get refund
SessionApicreateSessionPOST /v1/session/chargeCreate charge session
SessionApideleteSessionDELETE /v1/session/{id}Delete session
SubscriptionApicancelSubscriptionPOST /v1/subscription/{handle}/cancelCancel subscription
SubscriptionApichangeNextPeriodStartJsonPOST /v1/subscription/{handle}/change_next_period_startChange next renewal date
SubscriptionApichangeSubscriptionPUT /v1/subscription/{handle}Change subscription
SubscriptionApicreateSubscriptionDiscountPOST /v1/subscription/{handle}/discountAdd subscription discount
SubscriptionApicreateSubscriptionInvoicePOST /v1/subscription/{handle}/invoiceCreate invoice ondemand for subscription
SubscriptionApicreateSubscriptionJsonPOST /v1/subscriptionCreate subscription
SubscriptionApideleteSubscriptionDiscountDELETE /v1/subscription/{handle}/discount/{sdHandle}Delete subscription discount
SubscriptionApiexpirePOST /v1/subscription/{handle}/expireExpire subscription
SubscriptionApigetSubscriptionGET /v1/subscription/{handle}Get subscription
SubscriptionApigetSubscriptionDiscountGET /v1/subscription/{handle}/discount/{sdHandle}Get subscription discount
SubscriptionApigetSubscriptionDiscountsGET /v1/subscription/{handle}/discountGet subscription discounts
SubscriptionApigetSubscriptionPaymentMethodsGET /v1/subscription/{handle}/payment_methodGet payment methods
SubscriptionApigetSubscriptionPeriodBalanceGET /v1/subscription/{handle}/period_balanceGet the period balance for subscription
SubscriptionApigetSubscriptionsGET /v1/subscriptionGet list of subscriptions
SubscriptionApiintervalAmountGET /v1/subscription/{handle}/interval_amountCalculate interval amount
SubscriptionApionHoldPOST /v1/subscription/{handle}/on_holdSubscription on hold
SubscriptionApireactivateSubscriptionPOST /v1/subscription/{handle}/reactivateReactivate subscription on hold
SubscriptionApiredeemCouponCodePOST /v1/subscription/{handle}/couponRedeem coupon code for subscription
SubscriptionApiremoveAllPaymentMethodsDELETE /v1/subscription/{handle}/payment_methodRemove all payment methods
SubscriptionApiremovePaymentMethodDELETE /v1/subscription/{handle}/payment_method/{method_id}Remove payment method
SubscriptionApisetPaymentMethodPOST /v1/subscription/{handle}/payment_methodSet payment method
SubscriptionApiuncancelPOST /v1/subscription/{handle}/uncancelUncancel subscription
UserApideleteUserDELETE /v1/user/{id}Delete user
UserApigetUserGET /v1/user/{id}Get user
UserApigetUsersGET /v1/userGet users
UserApiinviteUserPOST /v1/user/inviteInvite user
UserApiinviteUserAcceptPOST /v1/user/invite/{token}Accept invite
UserApiinviteUserGetGET /v1/user/invite/{token}Get invite
UserApiresetPasswordPOST /v1/user/reset_passwordReset password request
UserApiresetPasswordWithTokenPOST /v1/user/reset_password/{token}Reset password
UserApiupdateAuthPUT /v1/user/{id}/groupsUpdate user groups
UserApiupdatePasswordPUT /v1/user/{id}/passwordChange password
UserApiupdateUserPUT /v1/user/{id}Update user
UserApiverifyEmailPOST /v1/user/verify_email/{token}Verify email
UserApiverifyEmailRequestPOST /v1/user/{id}/verify_emailSend verification email
WebhookApidisableWebhooksPOST /v1/webhook/disableDisable webhooks
WebhookApigetWebhookGET /v1/webhook/{id}Get webhooks
WebhookApigetWebhookRequestsGET /v1/webhook/{id}/requestGet webhook requests
WebhookApigetWebhooksGET /v1/webhookGet list of webhooks
WebhookApiresendJsonPOST /v1/webhook/resendRe-send webhooks
WebhookApiupdateWebhooksPOST /v1/webhook/updateUpdate and resend webhooks

Documentation For Models

Documentation For Authorization

apiKey

  • Type: API key
  • API key parameter name: X-Auth-Token
  • Location: HTTP header

basicAuth

  • Type: HTTP basic authentication

Keywords

php

FAQs

Package last updated on 08 Jan 2026

Related posts