We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 172bc54 commit 00d3f1eCopy full SHA for 00d3f1e
1 file changed
Examples/balance.php
@@ -0,0 +1,17 @@
1
+<?php
2
+
3
+require_once(dirname(__DIR__) . '/vendor/autoload.php');
4
5
+$apiInstance = new \SpojeNET\Csas\Accounts\DefaultApi(
6
+ // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
7
+ // This is optional, `GuzzleHttp\Client` will be used as default.
8
+ new GuzzleHttp\Client()
9
+);
10
+$id = 'id_example'; // string | Opaque system ID of the account
11
12
+try {
13
+ $result = $apiInstance->getAccountBalance($id);
14
+ print_r($result);
15
+} catch (Exception $e) {
16
+ echo 'Exception when calling DefaultApi->getAccountBalance: ', $e->getMessage(), PHP_EOL;
17
+}
0 commit comments