composer require reactmore-tech/mayar-headless-api
require 'vendor/autoload.php'; $mayarId = new \ReactMoreTech\MayarHeadlessAPI\MayarProvider(); $mayarId->setProduction(false); $mayarId->apiToken("xxxx"); $mayarId->webhookToken("xxxxxx");
var_dump($mayarId->webhookServices()->getWebhookHistory()); var_dump($mayarId->webhookServices()->setWebhookURL('https://example.mayar.com')); var_dump($mayarId->webhookServices()->testWebhookURL('https://example.mayar.com'));
There was an error while loading. Please reload this page.