@os-team/tinkoff-oplata
v1.0.14
Published
Tinkoff Oplata API. All methods described in the [official documentation](https://oplata.tinkoff.ru/develop/api/) are implemented.
Downloads
237
Readme
@os-team/tinkoff-oplata
Tinkoff Oplata API. All methods described in the official documentation are implemented.
Example
const client = new TinkoffOplataClient({
terminalKey: 'terminalKey',
password: 'password',
});
const res = await client.init({
Amount: 100,
OrderId: '1',
Description: 'Тестовый платеж',
DATA: {
Phone: '+71234567890',
Email: '[email protected]',
},
Receipt: {
Email: '[email protected]',
Phone: '+71234567890',
EmailCompany: '[email protected]',
Taxation: 'osn',
Items: [
{
Name: 'Наименование товара',
Price: 30000,
Quantity: 3.0,
Amount: 90000,
Tax: 'vat10',
},
],
},
});