PHPackages                             paysafecard/paysafecard-rest\_api-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. [Payment Processing](/categories/payments)
4. /
5. paysafecard/paysafecard-rest\_api-php

ActiveLibrary[Payment Processing](/categories/payments)

paysafecard/paysafecard-rest\_api-php
=====================================

paysafecard PHP REST API Library

v1.0.5(3y ago)49.8k↓46.7%1MITPHPPHP &gt;=5.6.0

Since Nov 19Pushed 3y ago2 watchersCompare

[ Source](https://github.com/TS3Tools/paysafecard-rest_api-php)[ Packagist](https://packagist.org/packages/paysafecard/paysafecard-rest_api-php)[ Docs](https://www.paysafecard.com/)[ RSS](/packages/paysafecard-paysafecard-rest-api-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)DependenciesVersions (6)Used By (0)

paysafecard
===========

[](#paysafecard)

paysafecard - a global market leader in online prepaid payment methods, is available in 43 countries at over 500,000 sales outlets and can be used in thousands of online shops worldwide. By using a 16-digit paysafecard PIN, customers can pay quickly, simply and safely online. paysafecard is the perfect solution for customers who value their data security or simply don’t have a credit card.

paysafecard-php
===============

[](#paysafecard-php)

paysafecard sample codes for the REST API in PHP. Payment, Payout, Refund

You can find the full documentation and payment flow of the paysafecard APIs here EN: DE:

Installation
============

[](#installation)

You can either install the REST API by manually downloading it or using Composer:

```
composer require paysafecard/paysafecard-rest_api-php
```

Integration
===========

[](#integration)

How to integrate paysafecards API:

1. Register for a business account.
2. Use the API key you get in the service center in the sample codes.
3. Download and configure the sample codes.
4. Make the service center integration test.

Payment API classes &amp; examples
==================================

[](#payment-api-classes--examples)

For detailed information have a look into the examples provided for several coding languages. Basic usage is provided within the languages README.md.

Authentication key
==================

[](#authentication-key)

You can get your testing key after the registration for a business account:

Payout &amp; Refund
===================

[](#payout--refund)

Not per default active. Special agreement with paysafecard necessary. Please talk before the implementation with the paysafecard sales team.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~415 days

Total

5

Last Release

1435d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8344883?v=4)[TS3tools](/maintainers/TS3tools)[@TS3Tools](https://github.com/TS3Tools)

![](https://avatars.githubusercontent.com/u/22189864?v=4)[paysafecard](/maintainers/paysafecard)[@paysafecard](https://github.com/paysafecard)

---

Top Contributors

[![Sebbo94BY](https://avatars.githubusercontent.com/u/5154682?v=4)](https://github.com/Sebbo94BY "Sebbo94BY (24 commits)")[![psc-walch](https://avatars.githubusercontent.com/u/11882228?v=4)](https://github.com/psc-walch "psc-walch (15 commits)")[![kevinpeuman](https://avatars.githubusercontent.com/u/4740864?v=4)](https://github.com/kevinpeuman "kevinpeuman (6 commits)")[![harschi](https://avatars.githubusercontent.com/u/22213032?v=4)](https://github.com/harschi "harschi (3 commits)")[![PHPGangsta](https://avatars.githubusercontent.com/u/608408?v=4)](https://github.com/PHPGangsta "PHPGangsta (3 commits)")[![danadePSC](https://avatars.githubusercontent.com/u/22290076?v=4)](https://github.com/danadePSC "danadePSC (2 commits)")[![berbac-psc](https://avatars.githubusercontent.com/u/19412119?v=4)](https://github.com/berbac-psc "berbac-psc (1 commits)")[![psc-fatos](https://avatars.githubusercontent.com/u/70745532?v=4)](https://github.com/psc-fatos "psc-fatos (1 commits)")[![ChrisBPB](https://avatars.githubusercontent.com/u/7156240?v=4)](https://github.com/ChrisBPB "ChrisBPB (1 commits)")

---

Tags

paymentpaysafecardprepaid payment methodprepaid solution

### Embed Badge

![Health badge](/badges/paysafecard-paysafecard-rest-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/paysafecard-paysafecard-rest-api-php/health.svg)](https://phpackages.com/packages/paysafecard-paysafecard-rest-api-php)
```

###  Alternatives

[paymentsuite/stripe-bundle

Stripe PaymentSuite Component

105.0k](/packages/paymentsuite-stripe-bundle)

PHPackages © 2026

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