Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 555 Bytes

readme.md

File metadata and controls

17 lines (13 loc) · 555 Bytes

CloudPayments PHP Client Library

Клиент для платежного сервиса CloudPayments. Позволяет обращаться к API CloudPayments из кода на PHP.

Установка

composer require sannysoft/cloud-payments-client

Использование

$client = new \CloudPayments\Manager($publicKey, $privateKey);
$transaction = $client->chargeToken($amount, $currency, $accountId, $cardToken);

print $transaction->getId();