oscar-team / reepay-php-api
Installs: 1 391
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 5
Forks: 9
Open Issues: 1
Requires
- php: >=5.4
- ext-curl: *
- ext-json: *
- ext-mbstring: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ~1.12
- phpunit/phpunit: ~4.8
- satooshi/php-coveralls: ~1.0
- squizlabs/php_codesniffer: ~2.6
README
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/.
Documentation For Models
- Account
- AnydayTransaction
- AccountLogin
- AddOn
- AddOnSearch
- AdditionalCost
- BancontactTransaction
- BlikTransaction
- CancelSubscription
- Card
- CardGatewayAgreement
- CardImport
- CardToken
- CardTransaction
- ChangeNextPeriodStart
- ChangeSubscription
- Charge
- ChargeSearch
- ChargeSource
- Coupon
- CouponRedemption
- CouponSearch
- CreateAddOn
- CreateAdditionalCost
- CreateCardGatewayAgreement
- CreateCharge
- CreateCoupon
- CreateCredit
- CreateCreditNoteLine
- CreateCustomer
- CreateCustomerInvoice
- CreateCustomerNote
- CreateDiscount
- CreateDunningPlan
- CreateOrder
- CreateOrderLine
- CreateRefund
- CreateSession
- CreateSubscription
- CreateSubscriptionAddOn
- CreateSubscriptionAdditionalCost
- CreateSubscriptionDiscount
- CreateSubscriptionInvoice
- CreateSubscriptionPlan
- Credit
- CreditInvoice
- CreditNoteLine
- Customer
- CustomerNote
- CustomerSearch
- Discount
- DiscountSearch
- DiscountSettings
- DunningPlan
- EpsTransaction
- ErrorResponse
- EstoniaBanksTransaction
- Event
- EventList
- ExpireSubscription
- GiropayTransaction
- IdealTransaction
- IntervalAmount
- InviteUser
- InviteUserAccept
- Invoice
- InvoiceBillingAddress
- InvoiceCreditNote
- InvoiceSearch
- InvoiceShippingAddress
- Key
- KlarnaTransaction
- LatviaBanksTransaction
- LithuaniaBanksTransaction
- MailSettings
- ManualRefundTransfer
- ManualSettleTransfer
- ManualTransaction
- MbwayTransaction
- MpsSubscription
- MpsTransaction
- MultibancoTransaction
- MybankTransaction
- OnHoldSubscription
- OrderLine
- Organisation
- OrganisationLogin
- PaymentMethods
- P24Transaction
- PayconiqTransaction
- PaypalTransaction
- PaysafecardTransaction
- PayseraTransaction
- Plan
- PostfinanceTransaction
- ReactivateSubscription
- RecursTransaction
- RedeemCouponCode
- Refund
- SantanderTransaction
- SatispayTransaction
- SepaTransaction
- Session
- SetPaymentMethod
- Settle
- SettleCharge
- Subscription
- SubscriptionAddOn
- SubscriptionChange
- SubscriptionDiscount
- SubscriptionLinks
- SubscriptionPeriodBalance
- SubscriptionSearch
- SupersedeSubscriptionPlan
- SwishTransaction
- Transaction
- TransactionSearch
- TrustlyTransaction
- UpdateAccount
- UpdateAddOn
- UpdateCardGatewayAgreement
- UpdateCoupon
- UpdateCustomer
- UpdateDunningPlan
- UpdateOrganisation
- UpdateSubscriptionPlan
- UpdateUser
- UpdateUserGroups
- UpdateUserPassword
- UpdateWebhookSettings
- User
- UserAccount
- UserLogin
- UserRenew
- UserResetRequestPassword
- VerkkopankkiTransaction
- ViabillTransaction
- VippsRecurringTransaction
- Webhook
- WebhookDisableRequest
- WebhookRequest
- WebhookResendRequest
- WebhookSettings
- WebhookUpdateRequest
- WeChatPayTransaction
Documentation For Authorization
apiKey
- Type: API key
- API key parameter name: X-Auth-Token
- Location: HTTP header
basicAuth
- Type: HTTP basic authentication