Download the PHP
package sergey-zatulivetrov/tinkoff-acquiring-client without Composer
On this page you can find all versions of the php package
sergey-zatulivetrov/tinkoff-acquiring-client. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Terminal ID. It is issued to the Seller by the Bank at the Terminal Institution
int
$PaymentId
Payment Identifier in the Bank System
Receipt
$Receipt
An array of check data
string
$Token
Token
Methods
Return
Name
Description
void
generateToken(string $password)
Token generation
Charge
Properties
Type
Name
Description
string
$TerminalKey
Terminal ID. It is issued to the Seller by the Bank at the Terminal Institution
int
$PaymentId
Payment Identifier in the Bank System
int
$RebillId
Identifier auto-payment
bool
$SendEmail
Obtaining a buyer of email notifications
string
$InfoEmail
Email buyer
string
$IP
Buyer's IP address
string
$Token
Token
Methods
Return
Name
Description
void
generateToken(string $password)
Token generation
AddCustomer
Properties
Type
Name
Description
string
$TerminalKey
Terminal ID. It is issued to the Seller by the Bank at the Terminal Institution
string
$CustomerKey
Buyer identifier in the seller
string
$Email
Email buyer
string
$Phone
Phone buyer in format +71234567890
string
$IP
Buyer's IP address
string
$Token
Token
Methods
Return
Name
Description
void
generateToken(string $password)
Token generation
GetCustomer
Properties
Type
Name
Description
string
$TerminalKey
Terminal ID. It is issued to the Seller by the Bank at the Terminal Institution
string
$CustomerKey
Buyer identifier in the seller
string
$IP
Buyer's IP address
string
$Token
Token
Methods
Return
Name
Description
void
generateToken(string $password)
Token generation
RemoveCustomer
Properties
Type
Name
Description
string
$TerminalKey
Terminal ID. It is issued to the Seller by the Bank at the Terminal Institution
string
$CustomerKey
Buyer identifier in the seller
string
$IP
Buyer's IP address
string
$Token
Token
Methods
Return
Name
Description
void
generateToken(string $password)
Token generation
GetCardList
Properties
Type
Name
Description
string
$TerminalKey
Terminal ID. It is issued to the Seller by the Bank at the Terminal Institution
string
$CustomerKey
Buyer identifier in the seller
string
$IP
Buyer's IP address
string
$Token
Token
Methods
Return
Name
Description
void
generateToken(string $password)
Token generation
RemoveCard
Properties
Type
Name
Description
string
$TerminalKey
Terminal ID. It is issued to the Seller by the Bank at the Terminal Institution
string
$CustomerKey
Buyer identifier in the seller
string
$CardId
Card ID in the Bank System
string
$IP
Buyer's IP address
string
$Token
Token
Methods
Return
Name
Description
void
generateToken(string $password)
Token generation
Receipt
Properties
Type
Name
Description
string
$Email
Buyer email
string
$Phone
Buyer's phone number
string
$EmailCompany
Seller Email
string
$Taxation
Tax system
Item[]
$Items
Array of check items with information about goods
Payments
$Payments
Object with information about the types of payment amount
Methods
Return
Name
Description
void
initItems(int $count)
Generation of an empty array of check positions
Item
getItem()
Conclusion of check position
Item
Properties
Type
Name
Description
string
$Name
Name of product
float
$Quantity
Number or weight of the goods
int
$Amount
Cost of goods in kopecks
int
$Price
Price per unit of goods in kopecks
string
$PaymentMethod
Sign of payment method
string
$PaymentObject
Sign of the subject of the calculation
string
$Tax
VAT rate
string
$Ean13
Barcode in the required format
AgentData
$AgentData
Agent data
SupplierInfo
$SupplierInfo
Payment Agent Supplier Data
AgentData
Properties
Type
Name
Description
string
$AgentSign
Sign of agent
string
$OperationName
The name of the operation
string[]
$Phones
Phones of the payment agent
string[]
$ReceiverPhones
Phone operator for receiving payments
string[]
$TransferPhones
Phones Translation Operator
string
$OperatorName
Name of transformation operator
string
$OperatorAddress
Alternator address translation
string
$OperatorInn
Inn Translation Operator
SupplierInfo
Properties
Type
Name
Description
string[]
$Phones
Phone supplier
string
$Name
Supplier name
string
$Inn
TIN supplier
Payments
Properties
Type
Name
Description
int
$Cash
Payment type "Cash". Amount to be paid in kopecks, no more than 14 digits
int
$Electronic
Payment type "Non-cash"
int
$AdvancePayment
Payment type "Advance payment (Advance payment)"
int
$Credit
Payment type "Postpaid (Credit)"
int
$Provision
Payment type "Other form of payment"
CardData
Type
Name
Description
int
$PAN
Card number
string
$ExpDate
Month and year of the duration of the card. In MMYY format
string
$CardHolder
Name and surname card holder as on map
string
$CVV
Protection code
string
$ECI
Electronic Commerce Indicator. The indicator showing the degree of protection used in providing the buyer of its TSP data. Used and is required for Apple Pay or Google Pay
string
$CAVV
Cardholder Authentication Verification Value or Accountholder Authentication Value Used and is required for Apple Pay or Google Pay
5 Constants
AgentSign
Name
Description
BANK_PAYING_AGENT
Bank payment agent
BANK_PAYING_SUBAGENT
Bank payment subagent
PAYING_AGENT
Payment Agent
PAYING_SUBAGENT
Payment Subagent
ATTORNEY
Attorney
COMMISSION_AGENT
Commissioner
ANOTHER
Another type of agent
Language
Name
Description
RU
Russian
EN
English
PaymentMethod
Name
Description
FULL_PREPAYMENT
Prepay 100%
PREPAYMENT
Prepayment
ADVANCE
Avanc
FULL_PAYMENT
Full calculation
PARTIAL_PAYMENT
Partial calculation and credit
CREDIT
Transfer to Credit
CREDIT_PAYMENT
Payment of credit
PaymentObject
Name
Description
COMMODITY
Product
EXCISE
Crossing commodity
JOB
Work
SERVICE
Service
GAMBLING_BET
Betting a gambling
GAMBLING_PRIZE
Gambling win
LOTTERY
Lottery ticket
LOTTERY_PRIZE
Winning lottery
INTELLECTUAL_ACTIVITY
Providing Intellectual Activities
PAYMENT
Payment
AGENT_COMMISSION
Agent's commission
COMPOSITE
Composite subject of calculation
ANOTHER
Other subject of calculation
PayType
Name
Description
O
Singadail payment
T
Double-step payment
Route
Name
Description
ACQ
ACQ
Source
Name
Description
CARDS
Cards
APPLE_PAY
ApplePay
GOOGLE_PAY
GooglePay
Taxation
Name
Description
OSN
General
USN_INCOME
Simplified (income)
USN_INCOME_OUTCOME
Simplified (income minus costs)
PATENT
Patent
ENVD
A single tax on imputed income
ESN
Single agricultural tax
Vat
Name
Description
NONE
None
VAT0
0%
VAT10
10%
VAT20
20%
VAT110
10/110
VAT120
20/120
6 Example
7 License
Copyright (c) Zatulivetrov Sergey. Distributed under the MIT.
All versions of tinkoff-acquiring-client with dependencies
Requiresphp Version
>=7.1 ext-json Version
* ext-openssl Version
* guzzlehttp/guzzle Version
>=6.3
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package sergey-zatulivetrov/tinkoff-acquiring-client contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.