Download the PHP package pawnpay/merchant_api without Composer
On this page you can find all versions of the php package pawnpay/merchant_api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pawnpay/merchant_api
More information about pawnpay/merchant_api
Files in pawnpay/merchant_api
Package merchant_api
Short Description An API adapter for gateway.pawn-pay.com
License MIT
Informations about the package merchant_api
PawnPay Merchant API
About
An API adapter for gateway.pawn-pay.com
Table of Contents
- Installation
- Usage
- Initialize
- Checking For Success
- Payers
- Create Payer
- Update Payer
- Delete Payer
- Get Payer Methods
- Payment Methods
- Create Method
- Update Method
- Delete Method
- Transactions
- Authorize Transaction
- Capture Transaction
- Process Transaction
- Reverse Transaction
- Get Transaction
- Batches
- Get Batches
- Get Batch Transactions
- Webhooks
- Create Webhook
- Update Webhook
- Get Webhook
- Delete Webhook
- List Webhooks
- Validate Webhook
- Debugging
- Testing
- License
Installation
Require the pawnpay/merchant_api
package in your composer.json:
Usage
For a full list of the API specs please see our API Documentation
Initialize
Checking For Success
Validate the request completed successfully
Create Payer
Update Payer
Delete Payer
Create Payment Method
Update Payment Method
Get Payment Methods
Delete Payment Method
Authorize Transaction
Capture Transaction
Process Transaction
Reverse Transaction
Get Transaction
Get Batches
Batch Transactions
Create Webhook
Update Webhook
Get Webhook
Delete Webhook
List Webhooks
Validate Webhook
Debugging
The raw HTTP Client response which implements \Psr\Http\Message\ResponseInterface
is accessible in each response.
This contains all the information about the response, status codes, headers, etc.
The last request is stored as an array in the MerchantClient instance.
Testing
Install the dev-dependencies and put your testing credentials in a .env file according to .env.example
Then run
License
This package is released under the MIT License. See the bundled LICENSE file for details.