composer require thepeer/sdk
<?php
use Thepeer\Sdk\Thepeer;
$thepeer = new Thepeer("your-secret-key");
$thepeer->chargeLink("lost-in-the-world", 5000, "Benz");
-
validateSiganture
accepts
:- request (object)
returns
: boolean
-
getSendReceipt
accepts
:- receipt_id (string)
returns
: object
-
processSendReceipt
accepts
:- receipt_id (string)
- event (string)
returns
: object
-
indexUser
accepts
:- name (string)
- email (string)
- identifier (string)
returns
: object
-
updateUser
accepts
:- reference (string)
- identifier (string)
returns
: object
-
deleteUser
accepts
:- reference (string)
returns
: boolean
-
getLink
accepts
:- lind_id (string)
returns
: object
-
chargeLink
accepts
:- lind_id (string)
- amount (integer)
returns
: object
-
authorizaDirectCharge
accepts
:- reference (string)
- event (string)
returns
: object
Refer to the documentation for more information.