Download the PHP package levelfiveteam/railsbank-sdk without Composer
On this page you can find all versions of the php package levelfiveteam/railsbank-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package railsbank-sdk
Railsbank PHP SDK Kit
This is the Railsbank integration using PHP.
This repository is actively used in projects, and we will be maintaining it regularly.
Donations
[
Instructions
This is the Railsbank PHP SDK Kit that allows you to provide a full facility to create customer accounts, ledgers, and a mastercard for your business/service.
We use commands and queries to de-couple requests, and to allow the ability to use a messaging queue system (AWS SQS, RabbitMQ etc...).
-
Simply set your application to store the service as a factory;
- Create commands and queries as and when you need to (example below returns back a response to give you the API Version);
Example query:
$response = $railsbank->handle(new GetVersion());
Example Command:
You will not need to validate data using this service. Validation happens at the command level. Any validation errors will return as a DomainException
with a json error message.
The valid response will be an immutable object, with the option to see the the full response.
Important note; we are only supporting GBP. Our aim is to release this in v1.2.
Commands and Queries
Action | Command or Query |
---|---|
GET | Query\Version\GetVersion |
GET | Query\Me\Information |
GET | Query\Customer\GetLedger |
GET | Query\Customer\GetLedgers |
GET | Query\Customer\GetEndusers |
GET | Query\Customer\GetEnduser |
GET | Query\Transaction\GetTransaction |
GET | Query\Transaction\GetTransactions |
GET | Query\Card\GetCard |
GET | Query\Card\GetCards |
GET | Query\Card\GetCardsByLedgerId |
GET | Query\Card\GetCardImageUrl |
GET | Query\Card\GetPin |
GET | Query\Beneficiary\GetBeneficiaries |
POST | Command\Customer\EndUsers\CreatePerson |
POST | Command\Customer\Ledger\CreateLedger |
POST | Command\Customer\Ledger\CloseLedger |
POST | Command\Beneficiary\CreateBeneficiary |
POST | Command\Transaction\CreateTransaction |
POST | Command\Card\CreateCard |
POST | Command\Card\ActivateCard |
Submitting bugs and feature requests
Bugs and feature requests are tracked on GitHub.
We are actively updating the SDK Kit.
Licence
You are free to reuse and adapt this content with credit, for non-commercial purposes. Please review License for further information.
All versions of railsbank-sdk with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^6.3
zendframework/zend-validator Version ^2.12
zendframework/zend-inputfilter Version ^2.10
zendframework/zend-coding-standard Version ~1.0.0
zendframework/zend-config Version ^3.2
league/tactician Version ^1.0
league/tactician-container Version ^2.0
league/container Version ^3.3