abwebdevelopers/pin-payments

Facilitates communication between your PHP app and the Pin Payments API.

0.1.1 2019-02-21 04:31 UTC

This package is auto-updated.

Last update: 2024-03-28 22:19:07 UTC


README

Build Status codecov

This library facilitates the communication between a PHP application and the Pin Payments API.

We recommend using this library if you would like to use the full suite of the Pin Payments API. If you are intending to just charge a credit card as part of a payment or checkout process, we recommend the use of the Omnipay library instead, which has support for Pin Payments among many other payment gateways.

Requirements

  • PHP 7.1 or above

Installation

Include this library in your application through Composer:

composer require abwebdevelopers/pin-payments "dev-master"

Currently supported API endpoints

  • Balance
    • GET /balance
  • Bank Accounts
    • POST /bank_accounts
  • Cards
    • POST /cards
  • Charges
    • POST /charges
    • GET /charges/charge-token
    • POST /charges/charge-token/refunds
  • Customers
    • POST /customers
    • GET /customers/customer-token
  • Recipients
    • POST /recipients
    • GET /recipients
    • GET /recipients/recipient-token
    • PUT /recipients/recipient-token
    • GET /recipients/recipient-token/transfers
  • Transfers
    • POST /transfers

How to use

Details will be forthcoming once we have some more API endpoints supported.