axelpal/poscredit

PosCredit integration API

Installs: 1 039

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/axelpal/poscredit

1.0.0 2018-02-02 12:45 UTC

This package is auto-updated.

Last update: 2025-10-05 03:05:23 UTC


README

License Dependency Status Latest Stable Version Total Downloads PHP Version

Документация полной формы v2.7 от 01 февраля 2018 г: https://api.b2pos.ru/loan/manual/full/

Документация краткой формы v2.4 от 01 февраля 2018 г: https://api.b2pos.ru/loan/manual/

Установка

composer require axelpal/poscredit

Инициализация сервиса

$loanService = new LoanService();

Получение решения по заявке по сервису «Короткая анкета»

$statusRequest = new StatusShortOptyRequest($userId, $userToken, $profileId);
$response = $loanService->statusShortOpty($statusRequest);

Проверка статуса заявки

$statusRequest = new StatusOptyRequest($userId, $userToken, $profileId);
$response = $loanService->statusOpty($statusRequest);

Проверка статуса заявки для Интернет-магазина

$statusRequest = new StatusSelectedOptyRequest($userId, $userToken, $orderId, $profileId);
$response = $loanService->statusSelectedOpty($statusRequest);