File tree Expand file tree Collapse file tree 1 file changed +29
-7
lines changed Expand file tree Collapse file tree 1 file changed +29
-7
lines changed Original file line number Diff line number Diff line change @@ -13,24 +13,29 @@ composer install thepeer/sdk
1313``` php
1414<?php
1515
16- $thepeer = new \Thepeer\Sdk\Thepeer("your-secret-key");
16+ use Thepeer\Sdk\Thepeer;
17+
18+ $thepeer = new Thepeer("your-secret-key");
19+
20+ $thepeer->chargeLink("lost-in-the-world", 5000, "Benz");
1721```
1822
1923### Available methods
2024
2125* validateSiganture
2226 - ` accepts ` :
23- - request object
27+ - request ( object)
2428 - ` returns ` : boolean
2529
26- * getReceipt
30+ * getSendReceipt
2731 - ` accepts ` :
28- - reference
32+ - receipt_id (string)
2933 - ` returns ` : object
3034
31- * processReceipt
35+ * processSendReceipt
3236 - ` accepts ` :
33- - reference (string)
37+ - receipt_id (string)
38+ - insufficient_funds (bool)
3439 - ` returns ` : object
3540
3641* indexUser
@@ -50,7 +55,24 @@ $thepeer = new \Thepeer\Sdk\Thepeer("your-secret-key");
5055 - ` accepts ` :
5156 - reference (string)
5257 - ` returns ` : boolean
58+
59+ * getLink
60+ - ` accepts ` :
61+ - lind_id (string)
62+ - ` returns ` : object
63+
64+ * chargeLink
65+ - ` accepts ` :
66+ - lind_id (string)
67+ - amount (integer)
68+ - ` returns ` : object
69+
70+ * authorizaDirectCharge
71+ - ` accepts ` :
72+ - reference (string)
73+ - insufficient_funds (bool)
74+ - ` returns ` : object
5375
5476## Extra
5577
56- Refer to the [ documentation] ( https://documenter.getpostman.com/view/2370026/TzJu8wdy ) for more information.
78+ Refer to the [ documentation] ( https://docs.theper.co ) for more information.
You can’t perform that action at this time.
0 commit comments