Download the PHP package friends-of-vertex-cards/api-client without Composer
On this page you can find all versions of the php package friends-of-vertex-cards/api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download friends-of-vertex-cards/api-client
More information about friends-of-vertex-cards/api-client
Files in friends-of-vertex-cards/api-client
Package api-client
Short Description PHP library for Vertex Cards API interaction
License MIT
Informations about the package api-client
Vertex Cards API Client
PHP library for Vertex Cards API interaction
Supported PHP Versions
- PHP 8.3+
Documentation
1. Installation
The Vertex Cards API Client can be installed using Composer by running the following command:
2. Getting API token
The library provides authorization flows for users based on a custom header.
Proceed to documentation to obtain your Live API Key and Company Uuid.
3. Client Initialization
Create ApiClient object using the following code:
Also you can implement your own factory by implementing \FriendsOfVertexCards\ApiClient\VertexCardsClientFactoryInterface
4. API Requests
You can find the full list of API methods here.
4.1 Request Sample
Example of getting accounts:
5. Use cases
- Init top up
- Create card
- Get card credentials
- Top up card balance
- Withdraw card balance
All versions of api-client with dependencies
php-http/httplug Version ^2.4
psr/log Version ^3.0
ramsey/uuid Version ^4.9
php-http/logger-plugin Version ^1.4
nyholm/psr7 Version ^1.8
symfony/serializer Version ^7.3
php-http/guzzle7-adapter Version ^1.1
symfony/property-access Version ^7.3