Retrieve all Payment Providers

**GET**https://api.okepay.info/v1.0/Invoice/PaymentProvider/:id

PHPPythonBash
<?php
// $instanceName is a part of the url where you access your okepay installation.
// https://{$instanceName}.okepay.info
$instanceName = 'YOUR_INSTANCE_NAME';
// $secret is the okepay secret for the communication between the applications
// if you think someone got your secret, just regenerate it in the okepay administration
$secret = 'YOUR_SECRET';
$okepay = new \Okepay\Okepay($instanceName, $secret);
$paymentProvider = new \Okepay\Models\Request\PaymentProvider();
try {
    $response = $okepay->getAll($paymentProvider);
    var_dump($response);
} catch (\Okepay\OkepayException $e) {
    print $e->getMessage();
}
import urllib.request
import hmac
import hashlib
import base64
import json
post_data = {}
data = urllib.parse.urlencode(post_data).encode('UTF-8')
dig = hmac.new(b'INSTANCE_API_SECRET', msg=data, digestmod=hashlib.sha256).digest()
post_data['ApiSignature'] = base64.b64encode(dig).decode()
post_data['instance'] = 'INSTANCE_NAME'
data = urllib.parse.urlencode(post_data)
result = urllib.request.urlopen('https://api.okepay.info/v1.0/PaymentProvider/?' + data)
content = result.read().decode('UTF-8')
response = json.loads(content)
transaction = response['data'][0]
print(transaction)
apiSignature=`echo -n "" | openssl dgst -sha256 -hmac "INSTANCE_API_SECRET" -binary | openssl enc -base64`
curl --request GET "https://api.okepay.info/v1.0/PaymentProvider/?instance=INSTANCE_NAME" --data-urlencode "ApiSignature=$apiSignature"
QUERY PARAMS
instance
string
REQUIRED
Your OkePay instance name