public static function get(int $monetaryAccountId, array $customHeaders = []): BunqResponseMonetaryAccount
    {
        $apiClient = new ApiClient(static::getApiContext());
        $responseRaw = $apiClient->get(
            vsprintf(
                self::ENDPOINT_URL_READ,
                [static::determineUserId(), static::determineMonetaryAccountId($monetaryAccountId)]
            ),
            [],
            $customHeaders
        );

        return BunqResponseMonetaryAccount::castFromBunqResponse(
            static::fromJson($responseRaw)
        );
    }
public static function get(int $monetaryAccountId, array $customHeaders = []): BunqResponseMonetaryAccount
    {
        $apiClient = new ApiClient(static::getApiContext());
        $responseRaw = $apiClient->get(
            vsprintf(
                self::ENDPOINT_URL_READ,
                [static::determineUserId(), static::determineMonetaryAccountId($monetaryAccountId)]
            ),
            [],
            $customHeaders
        );

        return BunqResponseMonetaryAccount::castFromBunqResponse(
            static::fromJson($responseRaw)
        );
    }
public static function get ( int $ monetaryAccountId , array $ customHeaders = [ ] ) : BunqResponseMonetaryAccount { $ apiClient = new ApiClient ( static :: getApiContext ( ) ) ; $ responseRaw = $ apiClient -> get ( vsprintf ( self :: ENDPOINT_URL_READ , [ static :: determineUserId ( ) , static :: determineMonetaryAccountId ( $ monetaryAccountId ) ] ) , [ ] , $ customHeaders ) ; return BunqResponseMonetaryAccount :: castFromBunqResponse ( static :: fromJson ( $ responseRaw ) ) ; }
Get a specific MonetaryAccount.

@param int $monetaryAccountId
@param string[] $customHeaders

@return BunqResponseMonetaryAccount
Get a specific MonetaryAccount .