$client = GoHighLevel::client($access_token,'2021-07-28')->payments();
$integrations = $client->integration();
$data = $integrations->create([
//params
]);
$data = $integrations->list($altId, $altType, [
//params
]);
$orders = $client->order();
$data = $orders->list($altId, $altType, [
//params
]);
$data = $orders->get($orderId, [
//params
]);
$fulfillment = $client->orderFulfillment();
$data = $fulfillment->create($orderId, [
//params
]);
$data = $fulfillment->list($orderId, [
//params
]);
$transaction = $client->transaction();
$data = $transaction->list($altId, $altType, [
//params
]);
$data = $transaction->get($transactionId, $altId, $altType, [
//params
]);
$subscription = $client->subscription();
$data = $subscription->list($altId, $altType, [
//params
]);
$data = $subscription->get($subscriptionId, $altId, $altType, [
//params
]);
$customProvider = $client->customProvider();
$data = $customProvider->create($locationId, [
//params
]);
$data = $customProvider->delete($locationId);
$data = $customProvider->getConfig($locationId);
$data = $customProvider->createConfig($locationId,[
//parameters
]);
$data = $customProvider->disconnectConfig($locationId, $liveMode);
or
$data = $customProvider->deleteConfig($locationId, $liveMode);