Changed version api v1 -> v2 (#7)

This commit is contained in:
Anatoly Cherkasov 2018-07-31 17:51:09 +03:00 committed by GitHub
parent dc0e4aaab2
commit 799e4bf2fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ class ModelPaymentRbkmoneyPayment extends Model
const SIGNATURE_DIGEST = 'digest';
const SIGNATURE_PATTERN = "|alg=(\S+);\sdigest=(.*)|i";
private $api_url = 'https://api.rbk.money/v1/';
private $api_url = 'https://api.rbk.money/v2/';
public function getMethod($address, $total)
{