PHPackages                             optiosteam/tikkie-client-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. optiosteam/tikkie-client-php

ActiveLibrary[API Development](/categories/api)

optiosteam/tikkie-client-php
============================

Tikkie API client library for PHP developed by Optios.

1.0.1(3y ago)153.2k↓27.3%1[1 PRs](https://github.com/optiosteam/tikkie-client-php/pulls)MITPHPPHP &gt;=7.4

Since Aug 31Pushed 2y ago4 watchersCompare

[ Source](https://github.com/optiosteam/tikkie-client-php)[ Packagist](https://packagist.org/packages/optiosteam/tikkie-client-php)[ RSS](/packages/optiosteam-tikkie-client-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (4)Used By (0)

[![CI](https://github.com/optiosteam/tikkie-client-php/actions/workflows/tests.yaml/badge.svg?branch=main)](https://github.com/optiosteam/tikkie-client-php/actions/workflows/tests.yaml)[![codecov](https://camo.githubusercontent.com/673d9fc924906d8c385ea386c0101d6cb3d0c072de0cc9f26ba153d74952ffb9/68747470733a2f2f636f6465636f762e696f2f67682f6f7074696f737465616d2f74696b6b69652d636c69656e742d7068702f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d53363259445558563741)](https://codecov.io/gh/optiosteam/tikkie-client-php)

PHP Tikkie API Client
=====================

[](#php-tikkie-api-client)

Supported API version: v2.3

Development sponsored by [Optios](https://www.optios.net)

API Documentation:

Installation
------------

[](#installation)

**Requirement**: PHP version &gt;=7.4

```
composer require optiosteam/tikkie-client-php

```

Examples
--------

[](#examples)

### Get Sandbox (staging) app token

[](#get-sandbox-staging-app-token)

As a developer using the sandbox environment, you will need to create an app token before you call other endpoints.

```
use Optios\Tikkie\TikkieApiClient;

$client   = new TikkieApiClient('your_api_key', null, null, false);
$appToken = $client->getSandboxAppToken();
var_dump($appToken);
```

### Create payment request

[](#create-payment-request)

```
use Optios\Tikkie\Request\CreatePaymentRequest;
use Optios\Tikkie\TikkieApiClient;

$client = new TikkieApiClient('your_api_key', 'your_app_token', null, false);

$paymentRequest = new CreatePaymentRequest('This is a description');
$paymentRequest->setAmountInCents(500);
$result = $client->createPaymentRequest($paymentRequest);
var_dump($result);
```

### Get payment request

[](#get-payment-request)

```
use Optios\Tikkie\TikkieApiClient;

$client = new TikkieApiClient('your_api_key', 'your_app_token', null, false);
$result = $client->getPaymentRequest('payment_request_token');
var_dump($result);
```

### Get all payment requests (search with paging and optional dates)

[](#get-all-payment-requests-search-with-paging-and-optional-dates)

```
use Carbon\Carbon;
use Optios\Tikkie\Request\GetAllPaymentRequests;
use Optios\Tikkie\TikkieApiClient;

$client  = new TikkieApiClient('your_api_key', 'your_app_token', null, false);
$request = new GetAllPaymentRequests(
    0,
    50
);
$request->setFromDateTime(Carbon::now()->subHours(2));

$result = $client->getAllPaymentRequests($request);
var_dump($result);
```

### Get payment from payment request

[](#get-payment-from-payment-request)

```
use Optios\Tikkie\Request\GetPaymentPathVariables;
use Optios\Tikkie\TikkieApiClient;

$client = new TikkieApiClient('your_api_key', 'your_app_token', null, false);
$result = $client->getPaymentFromPaymentRequest(
    new GetPaymentPathVariables('payment_request_token', 'payment_token')
);
var_dump($result);
```

### Get all payments for payment request (search with paging and optional dates)

[](#get-all-payments-for-payment-request-search-with-paging-and-optional-dates)

```
use Optios\Tikkie\Request\GetAllPaymentsForPaymentRequest;
use Optios\Tikkie\TikkieApiClient;

$client = new TikkieApiClient('your_api_key', 'your_app_token', null, false);
$result = $client->getAllPaymentsForPaymentRequest(
    new GetAllPaymentsForPaymentRequest(
        'payment_request_token',
        0,
        10,
        true
    )
);
var_dump($result);
```

### Create refund

[](#create-refund)

```
use Optios\Tikkie\Request\CreateRefund;
use Optios\Tikkie\Request\GetPaymentPathVariables;
use Optios\Tikkie\TikkieApiClient;

$client = new TikkieApiClient('your_api_key', 'your_app_token', null, false);
$result = $client->createRefund(
    new CreateRefund(
        new GetPaymentPathVariables('payment_request_token', 'payment_token'),
        'Refund of € 1.5',
        150
    )
);
var_dump($result);
```

### Get refund

[](#get-refund)

```
use Optios\Tikkie\Request\GetRefundPathVariables;
use Optios\Tikkie\TikkieApiClient;

$client = new TikkieApiClient('your_api_key', 'your_app_token', null, false);
$result = $client->getRefund(
    new GetRefundPathVariables(
        'payment_request_token',
        'payment_token',
        'refund_token'
    )
);
var_dump($result);
```

Contributing
------------

[](#contributing)

Feel free to submit pull requests for improvements &amp; bug fixes :)

MIT License

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Total

2

Last Release

1336d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/814d404abddc2aabda999e023c114eca619f439e5a69366c4bd9b5cb837e9e10?d=identicon)[simonwestyn](/maintainers/simonwestyn)

---

Top Contributors

[![simonwestyn](https://avatars.githubusercontent.com/u/21172932?v=4)](https://github.com/simonwestyn "simonwestyn (6 commits)")

---

Tags

abnamroapiclientcomposer-packagepaymentphptikkietikkie-client-phptikkie-phpphpapiclienttikkie

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/optiosteam-tikkie-client-php/health.svg)

```
[![Health](https://phpackages.com/badges/optiosteam-tikkie-client-php/health.svg)](https://phpackages.com/packages/optiosteam-tikkie-client-php)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[kunalvarma05/dropbox-php-sdk

Dropbox PHP API V2 SDK (Unofficial)

3633.0M18](/packages/kunalvarma05-dropbox-php-sdk)[resend/resend-php

Resend PHP library.

574.7M21](/packages/resend-resend-php)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[optiosteam/payconiq-client-php

Payconiq API client library for PHP developed by Optios.

1273.4k](/packages/optiosteam-payconiq-client-php)[sima-land/api-php-client

Client library for Simaland APIs

311.5k](/packages/sima-land-api-php-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
