xyo / sdk
XYO Financial Official SDK for PHP
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/xyo/sdk
Requires
- php: >=7.1.33
- ext-json: *
- guzzlehttp/guzzle: ~6.5.8
Requires (Dev)
- phpunit/phpunit: ^7.2
- squizlabs/php_codesniffer: ^3.13
README
Official PHP Mascot for XYO.Financial Generated by Adobe AI and Imagined by Syniol Limited
This SDK is official XYO.Financial and maintained by Syniol Limited for PHP Programming Language.
The minimum requirement is PHP version: 7.1.33. It can be utilised for Trial and Premium accounts, given that a valid
API key is available to connect to and access the Enrichment services.
Quickstart Guide
First you need to install the XYO SDK for PHP ecosystem via Packagist package management.
composer require xyo/sdk
Client is an entry point to use the SDK. You need a valid API Key obtainable from https://xyo.financial/dashboard
Create a Client:
use XYO\SDK\Client; use XYO\SDK\ClientConfig; use XYO\SDK\Enrichment\DTO\EnrichmentRequest; $client = new Client(new ClientConfig("YourAPIKeyFromXYO.FinancialDashboard"))
Enrich a Single Payment Transaction:
$enrichmentResult = $client->enrichTransaction(new EnrichmentRequest("Costa PICKUP", "GB")); echo $enrichmentResult->merchant; echo $enrichmentResult->description; echo $enrichmentResult->categories; echo $enrichmentResult->logo;
Enrich Payment Transaction Collection (Bulk Enrichment):
$enrichmentCollectionResult = $client->enrichTransactionCollection([ new EnrichmentRequest("Costa PickUp", "GB"), new EnrichmentRequest("STRBUKS GREENWICH", "GB") ]); echo $enrichmentCollectionResult->id; echo $enrichmentCollectionResult->link;
Payment Transaction Collection Status:
$enrichmentCollectionStatusResult = $client->enrichTransactionCollectionStatus($enrichmentCollectionResult->id); echo $enrichmentCollectionStatusResult->getStatus();
Credits
Copyright © 2025 Syniol Limited. All rights reserved.