interswitch / billers
一个用于B2C账单支付的Interswitch PHP库。
dev-master
2017-05-09 14:19 UTC
Requires
- interswitch/interswitch: dev-master
This package is not auto-updated.
Last update: 2024-09-29 04:06:56 UTC
README
此仓库包含面向企业对消费者账单支付的业务SDK和示例。
先决条件
- PHP 5+ 或 PHP 7
- Interswitch PHP基础库 点击这里
欢迎
在此阅读我们的常见问题解答
账单方
账单方是指任何能够以费用交换服务的组织/机构/企业。例如,电信服务提供商(Airtel、Glo、MTN)、政府机构(拉各斯州)等。
类别
账单方根据类别分组。例如,所有有线电视提供商(DSTV、GOTV)可以归类到cable
类别。
客户
有意图和/或支付账单方提供任何服务的个人。
支付项
账单方(例如DSTV)可以提供不同的服务,因此有不同的价格。每个服务都归入支付项,并具有唯一的支付项代码。我们说用户有意图支付账单方提供的支付项。DSTV下的支付项示例是DSTV Premium Bouquet
。
此SDK为您提供的功能
获取所有账单方
Get a list of all billers supported on our platform.
获取所有类别
Get a list of all categorys and associated billers supported on our platform.
获取特定类别的所有账单方
Get a list of all biilers under a particular category.
获取账单方支付项
Get a list of all payment-items under aparticular Biller.
验证客户
Validates a customer-id under a particular biller.
为客户进行支付
Makes a payment for a payment-item for a particular customer.
查询交易状态
Query the status of a transaction made in the past based on the Request Reference
快速入门
Composer
"interswitch/interswitch": "dev-master"
composer require interswitch/interswitch:dev-master
示例
查看示例文件夹,了解上述所有功能的示例代码。