Download the PHP package twikey/twikey-api-php without Composer
On this page you can find all versions of the php package twikey/twikey-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download twikey/twikey-api-php
More information about twikey/twikey-api-php
Files in twikey/twikey-api-php
Package twikey-api-php
Short Description Php client to interface with the Twikey api
License MIT
Homepage https://api.twikey.com
Informations about the package twikey-api-php
Twikey API client for PHP
Want to allow your customers to pay in the most convenient way, then Twikey is right what you need.
Recurring or occasional payments via (Recurring) Credit Card, SEPA Direct Debit or any other payment method by bringing your own payment service provider or by leveraging your bank contract.
Twikey offers a simple and safe multichannel solution to negotiate and collect recurring (or even occasional) payments. Twikey has integrations with a lot of accounting and CRM packages. It is the first and only provider to operate on a European level for Direct Debit and can work directly with all major Belgian and Dutch Banks. However you can use the payment options of your favorite PSP to allow other customers to pay as well.
Requirements
To use the Twikey API client, the following things are required:
- Get yourself a Twikey account.
- PHP >= 5.6
- Up-to-date OpenSSL (or other SSL/TLS toolkit)
Composer Installation
By far the easiest way to install the Twikey API client is to require it with Composer.
$ composer require twikey/twikey-api-php:^0.6.0
{
"require": {
"twikey/twikey-api-php": "^0.6.0"
}
}
How to create anything
The api works the same way regardless if you want to create a mandate, a transaction, an invoice or even a paylink. the following steps should be implemented:
-
Use the Twikey API client to create or import your item.
-
Once available, our platform will send an asynchronous request to the configured webhook to allow the details to be retrieved. As there may be multiple items ready for you a "feed" endpoint is provided which acts like a queue that can be read until empty till the next time.
- The customer returns, and should be satisfied to see that the action he took is completed.
Find our full documentation online on api.twikey.com.
Getting started
Initializing the Twikey API client using your preferred Http client (eg. guzzle) and configure your API key which you can find in the Twikey merchant interface.
Documents
Invite a customer to sign a SEPA mandate using a specific behaviour template (ct) that allows you to configure the behaviour or flow that the customer will experience.
After creation, the link is available for signing and ideally you store the mandatenumber for future usage (eg. sending transactions).
Feed
Transactions
Send new transactions and act upon feedback from the bank.
Feed
Webhook
When wants to inform you about new updates about documents or payments a webhookUrl
specified in your api settings be called.
API documentation
If you wish to learn more about our API, please visit the Twikey Api Page. API Documentation is available in English.
Want to help us make our API client even better?
Want to help us make our API client even better? We take pull requests.
Support
Contact: www.twikey.com
All versions of twikey-api-php with dependencies
psr/http-client Version ^1.0.1
ext-json Version *
ext-openssl Version *