/** * setup a webhook for our wallet * * @param string $url URL to receive webhook events * @param string $identifier identifier for the webhook, defaults to WALLET-{$this->identifier} * @return array */ public function setupWebhook($url, $identifier = null) { $identifier = $identifier ?: "WALLET-{$this->identifier}"; return $this->sdk->setupWalletWebhook($this->identifier, $identifier, $url); }