src/Service/DefaultInstallationService.php
public function registerDevice(Token $token)
    {
        $this->sendInstallationPostRequest(
            '/v1/device-server',
            [
                'headers' => [
                    'X-Bunq-Client-Authentication' => $token->toString(),
                ],
                'json'    => [
                    'description'   => 'Bunq PHP API Client',
                    'secret'        => $this->apiKey,
                    'permitted_ips' => $this->permittedIps,
                ],
            ]
        );
    }
public function registerDevice(Token $token)
    {
        $this->sendInstallationPostRequest(
            '/v1/device-server',
            [
                'headers' => [
                    'X-Bunq-Client-Authentication' => $token->toString(),
                ],
                'json'    => [
                    'description'   => 'Bunq PHP API Client',
                    'secret'        => $this->apiKey,
                    'permitted_ips' => $this->permittedIps,
                ],
            ]
        );
    }
public function registerDevice ( Token $ token ) { $ this -> sendInstallationPostRequest ( '/v1/device-server' , [ 'headers' => [ 'X-Bunq-Client-Authentication' => $ token -> toString ( ) , ] , 'json' => [ 'description' => 'Bunq PHP API Client' , 'secret' => $ this -> apiKey , 'permitted_ips' => $ this -> permittedIps , ] , ] ) ; }
Registers a device with the Bunq API.

@param Token $token

return void
Registers a device with the Bunq API .