Download the PHP package wonderfulpaymentsltd/one-api-sdk-php without Composer
On this page you can find all versions of the php package wonderfulpaymentsltd/one-api-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wonderfulpaymentsltd/one-api-sdk-php
More information about wonderfulpaymentsltd/one-api-sdk-php
Files in wonderfulpaymentsltd/one-api-sdk-php
Package one-api-sdk-php
Short Description Official PHP SDK for the Wonderful One API - Accept Open Banking payments, manage customers, orders, and more.
License MIT
Informations about the package one-api-sdk-php
Wonderful One API - PHP SDK
Official PHP SDK for the Wonderful One API. Accept Open Banking payments, manage customers, orders, and generate reusable payment links — directly from your PHP or Laravel application.
Requirements
- PHP 8.0 or higher
- Guzzle ^7.0 (installed automatically)
- A Wonderful One merchant account and API token
Installation
Configuration
Standalone
Laravel
The Service Provider and Facade are registered automatically via Package Discovery.
-
Add your API key to
.env: -
(Optional) Publish the config file:
- Use the Facade:
Or inject via constructor:
Usage
Quick Pay
Create a customer, order, order line, and payment in a single request.
Minimum required fields:
Advanced options:
Reusable Payment Links (QR Codes)
Create a fixed-amount payment link that can be reused (e.g., for donations, subscriptions, or physical QR codes).
Customer data collection levels: none, email_only, contact_light, contact_full, billing
List, find, update, and delete QR codes:
Customers
Orders & Refunds
Payments
Tap Devices
Supported Banks
Error Handling
The SDK throws typed exceptions for common HTTP errors:
Running Tests
Changelog
See CHANGELOG.md.
License
MIT © Wonderful Payments Ltd