public function setupWalletWebhook($identifier, $webhookIdentifier, $url) {
        $response = $this->blocktrailClient->post("wallet/{$identifier}/webhook", null, ['url' => $url, 'identifier' => $webhookIdentifier], RestClient::AUTH_HTTP_SIG);
        return self::jsonDecode($response->body(), true);
    }
public function setupWalletWebhook($identifier, $webhookIdentifier, $url) {
        $response = $this->blocktrailClient->post("wallet/{$identifier}/webhook", null, ['url' => $url, 'identifier' => $webhookIdentifier], RestClient::AUTH_HTTP_SIG);
        return self::jsonDecode($response->body(), true);
    }
public function setupWalletWebhook ( $ identifier , $ webhookIdentifier , $ url ) { $ response = $ this -> blocktrailClient -> post ( "wallet/{$identifier}/webhook" , null , [ 'url' => $ url , 'identifier' => $ webhookIdentifier ] , RestClient :: AUTH_HTTP_SIG ) ; return self :: jsonDecode ( $ response -> body ( ) , true ) ; }
setup webhook for wallet

@param string    $identifier         the wallet identifier for which to create the webhook
@param string    $webhookIdentifier  the webhook identifier to use
@param string    $url                the url to receive the webhook events
@return array
setup webhook for wallet