Skip to main content

NotchPay PHP Library

A PHP library to easily integrate the NotchPay API into your applications.

Installation

Configuration

Before using the library, you need to configure your API key:

Payments

Initialize a payment

For more details on parameters, see the official documentation.

Verify a payment

List payments

Cancel a payment

Transfers

Initialize a transfer

Verify a transfer

List transfers

Beneficiaries

Create a beneficiary

Retrieve a beneficiary

Update a beneficiary

List beneficiaries

Delete a beneficiary

Customers

Create a customer

Retrieve a customer

Update a customer

List customers

Block a customer

Unblock a customer

Get customer payment methods

Get customer payments

Webhooks

Create a webhook

Retrieve a webhook

Update a webhook

List webhooks

Delete a webhook

Balance

Check account balance

Payment Channels

List payment channels

Retrieve a payment channel

Countries

List countries

Currencies

List currencies

Error Handling

The library throws different exceptions that you can catch to handle errors:

Official Documentation

For more information on API parameters and responses, see the official NotchPay documentation.

API Reference

Complete API documentation

JavaScript SDK

Integrate with JavaScript applications

Laravel Integration

Dedicated Laravel package