Download the PHP package paysera/lib-wallet-transfer-rest-client without Composer
On this page you can find all versions of the php package paysera/lib-wallet-transfer-rest-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download paysera/lib-wallet-transfer-rest-client
More information about paysera/lib-wallet-transfer-rest-client
Files in paysera/lib-wallet-transfer-rest-client
Package lib-wallet-transfer-rest-client
Short Description PHP REST client for Paysera.com Wallet Transfers
License
Informations about the package lib-wallet-transfer-rest-client
paysera-transfers-client
Provides methods to manipulate Transfers
API.
It automatically authenticates all requests and maps required data structure for you.
Usage
This library provides ClientFactory
class, which you should use to get the API client itself:
Please use only one authentication mechanism, provided by Paysera
.
Now, that you have instance of TransfersClient
, you can use following methods
Methods
It reserves funds for transfer and makes it "reserved". It's enough for transfer to be processed. If there are not enough funds, any limits are reached etc., transfer will be still "new" and no action will take place. Returns error if no funds available.
Provide password for transfer with status waiting_password
. If operation is successful, transfer status becomes done
. Available only for internal transfers. Returns error if password provided is invalid.
Make transfer visible in frontend for signing. If currency convert operations are related to transfer, they are done when transfer becomes reserved
. If there are expectations in currency convert requests, transfer becomes failed
together with related conversion request(s) if those expectations fails. This only makes transfer "reserved", so it's visible in our Web UI for signing
Signs the transfer
Get transfer.
Revoke transfer.
Create transfer in the system. Created transfer is invisible and will be deleted if no more actions are performed.
Standard SQL-style Result filtering
All versions of lib-wallet-transfer-rest-client with dependencies
paysera/lib-rest-client-common Version ^1.0 | ^2.1
fig/http-message-util Version ^1.0