Download the PHP package yuansfer/yuansfer-php-sdk without Composer
On this page you can find all versions of the php package yuansfer/yuansfer-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yuansfer/yuansfer-php-sdk
More information about yuansfer/yuansfer-php-sdk
Files in yuansfer/yuansfer-php-sdk
Download yuansfer/yuansfer-php-sdk
More information about yuansfer/yuansfer-php-sdk
Files in yuansfer/yuansfer-php-sdk
Vendor yuansfer
Package yuansfer-php-sdk
Short Description Yuansfer PHP SDK
License Apache-2.0
Homepage https://www.yuansfer.com/
Package yuansfer-php-sdk
Short Description Yuansfer PHP SDK
License Apache-2.0
Homepage https://www.yuansfer.com/
Please rate this library. Is it a good library?
Informations about the package yuansfer-php-sdk
Yuansfer PHP SDK
Requirements
- PHP >= 5.3
- CURL extension
Installation
-
Install composer:
More info about installation on Linux / Unix / OSX and Windows.
-
Run the Composer command to install the latest version of SDK:
- Require Composer's autoloader in your PHP script (assuming it is in the same directory where you installed Composer):
Usage
Please see examples
1. Init
2. Create API
3. Set API Parameters
4.1. Send
4.2. Use Test Mode
5. API return JSON, already decoded as array
6. Exceptions when sending
API Documents
IN-STORE API'S
Merchant Presented Workflow
API | Call | Description |
---|---|---|
Create QRC API | $yuansfer->createTransQrcode() |
This API generates a QR Code and transaction number for the customer to scan via their digital wallet app, allowing them to initiate the payment process. |
Customer Presented Workflow
API | Call | Description |
---|---|---|
Add Transaction API | $yuansfer->createAdd() |
This API enables the creation of a transaction object and allows the customer to retrieve a transaction number for initiating payment. |
Pay Transaction API | $yuansfer->createPrepay() |
This will allow customers to make the final confirmation before submitting payment which will process through the digital wallet servers. |
Cancel API | $yuansfer->createCancel() |
This API allows for canceling a payment transaction in either use case when the transaction is abandoned before submission, ensuring that merchants can efficiently manage their transactions. |
REFUND AND QUERY API'S
API | Call | Description |
---|---|---|
Refund API | $yuansfer->createRefund() |
In the instance where a customer requests a refund, the following request and response objects are initiated to complete the refund workflow. |
Query API | $yuansfer->createTranQuery() |
This API is used for polling transaction results, researching transactions for refunds, and generating custom reports. |
ECOMMERCE API'S
Pockyt Hosted Checkout
API | Call | Description |
---|---|---|
SecurePay API | $yuansfer->createSecurePay() |
By using this API, the merchant website can send customers to Pockyt to receive payments. |
Pockyt Integrated Payments
API | Call | Description |
---|---|---|
Process API | $yuansfer->createProcess() |
Utilize our Partner Payment Gateways to accept popular wallets such as PayPal, Venmo, Google Pay, and Apple Pay. When integrating with Partner Payment Gateways, utilize both the 'process' endpoint |
Customer Records
API | Call | Description |
---|---|---|
Register Customer | $yuansfer->createCustomerCreate() |
Use this API to create a new customer, and receiving the Customer Number from Pockyt, to be invoked during calls to the SecurePay API. |
Retrieve Customer | $yuansfer->createCustomerRetrieve() |
Use this API to retrieve the customer information stored in the record, to be used in calls to the SecurePay API. |
Update Customer | $yuansfer->createCustomerUpdate() |
Use this API to update information related to the customer's record. |
PAYOUTS API'S
Payouts
API | Call | Description |
---|---|---|
Register Payee | $yuansfer->createPayeeRegister() |
To initiate payments to your payees, you must first register an account with Pockyt. Send a POST request to the Register Customer endpoint, and you'll receive a customerNo in response. |
Retrieve Payee | $yuansfer->createPayeeRetrieve() |
Acquire detailed information about a payee's account by sending a POST request to Pockyt's Retrieve Payee Account API. This enables you to manage and verify payee accounts effectively, maintaining the |
Update Payee | $yuansfer->createPayeeUpdate() |
To update payee details such as name, address, email, and bank info by providing customer No and new details. The API returns a confirmation message upon successful execution |
Add Payee Bank | $yuansfer->createPayeeAddBank() |
Add a new payment method for the payee, such as a bank account. This endpoint requires the user to provide the Merhcnat ID and the payment details in the request payload. |
Transfer Payout | $yuansfer->createPayoutPay() |
To execute a payment, send a POST request to the payments endpoint. Upon successful validation, the specified amount will be transferred to the receiver, completing the payment transaction. |
YIP
capture
API | Call | Description |
---|---|---|
/order/v4/capture | $yuansfer->createYipOrderCapture() |
To fund a payment with a credit or debit card. |
no_vaulting
API | Call | Description |
---|---|---|
/online/v4/secure-pay | $yuansfer->createYipSecurePay() |
|
PayPal Payment Method | $yuansfer->createYipOrderProcess() |
Call this API when the customer approved the payment order, see HTML Sample code at #line 57 |
Card Payment Method | $yuansfer->createYipOrderProcess() |
Call this API when the customer approved the payment order, see HTML Sample code at #line 57 |
with_vaulting
API | Call | Description |
---|---|---|
Capture order and save payment methods | $yuansfer->createYipSecurePayVault() |
|
Complete the payment transaction | $yuansfer->createYipOrderProcess() |
Call this API when the customer approved the payment order, see HTML Sample code at #line 57 |
Pay with saved payment methods | $yuansfer->createYipSecurePayVaultSaved() |
All versions of yuansfer-php-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3
ext-json Version *
nategood/httpful Version ^0.2.20
mobiledetect/mobiledetectlib Version ^2.8
ext-json Version *
nategood/httpful Version ^0.2.20
mobiledetect/mobiledetectlib Version ^2.8
The package yuansfer/yuansfer-php-sdk contains the following files
Loading the files please wait ....